Skip to content

Commit 17addc3

Browse files
committed
restructure to follow dep15
Use the project as the first and initial app instead of core, this follow django dep15 django/deps#98
1 parent 6fbf91a commit 17addc3

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed

{{ cookiecutter.project_name }}/{{ cookiecutter.project_name }}/core/apps.py renamed to {{ cookiecutter.project_name }}/{{ cookiecutter.project_name }}/apps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from django.apps import AppConfig
22

33

4-
class CoreConfig(AppConfig):
4+
class {{ cookiecutter.project_name }}Config(AppConfig):
55
default_auto_field = "django.db.models.BigAutoField"
6-
name = "{{ cookiecutter.project_name }}.core"
6+
name = "{{ cookiecutter.project_name }}"
77

88
def ready(self):
99
# This prevents django-fastdev from raising an error when accessing the signup page.

{{ cookiecutter.project_name }}/{{ cookiecutter.project_name }}/core/management/commands/__init__.py

Whitespace-only changes.

{{ cookiecutter.project_name }}/{{ cookiecutter.project_name }}/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
]
133133

134134
LOCAL_APPS = [
135-
"{{ cookiecutter.project_name }}.core",
135+
"{{ cookiecutter.project_name }}",
136136
]
137137

138138
if DEBUG:

0 commit comments

Comments
 (0)