Skip to content

Commit

Permalink
Merge pull request #30 from rik/28_flatten_hierarchy
Browse files Browse the repository at this point in the history
Flatten project hierarchy
  • Loading branch information
nanorepublica authored May 15, 2024
2 parents efea447 + 4e15465 commit 8730b07
Show file tree
Hide file tree
Showing 78 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
web: gunicorn djangosocial.wsgi:application --bind 0.0.0.0:$PORT --timeout 300 --chdir django
web: gunicorn wsgi:application --bind 0.0.0.0:$PORT --timeout 300 --chdir django
release: python django/manage.py migrate
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from wagtail.models import Page
from wagtail.snippets.models import register_snippet

from djangosocial.streams.blocks import (
from streams.blocks import (
ContentListBlock,
ContentWithImagesBlock,
GalleryBlock,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion django/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangosocial.settings.dev")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings.dev")

from django.core.management import execute_from_command_line

Expand Down
2 changes: 1 addition & 1 deletion django/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ extend-exclude = "(migrations)"
force-exclude = "(migrations)"

[tool.django-stubs]
django_settings_module = "djangosocial.settings.dev"
django_settings_module = "settings.dev"

[tool.mypy]
exclude = [
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions django/djangosocial/settings/base.py → django/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"djangosocial.home",
"djangosocial.search",
"djangosocial.streams",
"djangosocial.users",
"home",
"search",
"streams",
"users",
]

MIDDLEWARE = [
Expand All @@ -65,7 +65,7 @@
"wagtail.contrib.redirects.middleware.RedirectMiddleware",
]

ROOT_URLCONF = "djangosocial.urls"
ROOT_URLCONF = "urls"

TEMPLATES = [
{
Expand All @@ -85,7 +85,7 @@
},
]

WSGI_APPLICATION = "djangosocial.wsgi.application"
WSGI_APPLICATION = "wsgi.application"

LOGGING = {
"version": 1,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ class StreamsConfig(AppConfig):
"""Defaault streams app config."""

default_auto_field = "django.db.models.BigAutoField"
name = "djangosocial.streams"
name = "streams"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion django/djangosocial/urls.py → django/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from wagtail.admin import urls as wagtailadmin_urls
from wagtail.documents import urls as wagtaildocs_urls

from djangosocial.search import views as search_views
from search import views as search_views

urlpatterns = [
path("django-admin/", admin.site.urls),
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion django/djangosocial/users/apps.py → django/users/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ class UsersConfig(AppConfig):
"""Users app configuration."""

default_auto_field = "django.db.models.BigAutoField"
name = "djangosocial.users"
name = "users"
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion django/djangosocial/wsgi.py → django/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

from django.core.wsgi import get_wsgi_application

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangosocial.settings.dev")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings.dev")

application = get_wsgi_application()

0 comments on commit 8730b07

Please sign in to comment.