Skip to content

Commit

Permalink
restructure to follow dep15
Browse files Browse the repository at this point in the history
Use the project as the first and initial app instead of core, this follow django dep15
django/deps#98
  • Loading branch information
Tobi-De committed Dec 21, 2024
1 parent 6fbf91a commit 17addc3
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from django.apps import AppConfig


class CoreConfig(AppConfig):
class {{ cookiecutter.project_name }}Config(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "{{ cookiecutter.project_name }}.core"
name = "{{ cookiecutter.project_name }}"

def ready(self):
# This prevents django-fastdev from raising an error when accessing the signup page.
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
]

LOCAL_APPS = [
"{{ cookiecutter.project_name }}.core",
"{{ cookiecutter.project_name }}",
]

if DEBUG:
Expand Down

0 comments on commit 17addc3

Please sign in to comment.