mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-06 13:10:17 +03:00
Include LOCAL_APPS before THIRD_PARTY_APPS in INSTALLED_APPS
This allows custom User model to be registered before THIRD_PARTY_APPS are imported. THIRD_PARTY_APPS can now get the model registered with AUTH_USER_MODEL without throwing a LookupError.
This commit is contained in:
parent
88a6ba641e
commit
6c6755ffb6
|
@ -48,7 +48,7 @@ LOCAL_APPS = (
|
||||||
)
|
)
|
||||||
|
|
||||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
|
||||||
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
|
INSTALLED_APPS = DJANGO_APPS + LOCAL_APPS + THIRD_PARTY_APPS
|
||||||
|
|
||||||
# MIDDLEWARE CONFIGURATION
|
# MIDDLEWARE CONFIGURATION
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user