mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-04 04:00:12 +03:00
first load django-debug-toolbar before using it
django-debug-toolbar is used before being loaded into INSTALLED_APPS.
This commit is contained in:
parent
faf861715f
commit
f05444762c
|
@ -286,8 +286,8 @@ class Local(Common):
|
||||||
########## End mail settings
|
########## End mail settings
|
||||||
|
|
||||||
########## django-debug-toolbar
|
########## django-debug-toolbar
|
||||||
MIDDLEWARE_CLASSES = Common.MIDDLEWARE_CLASSES + ('debug_toolbar.middleware.DebugToolbarMiddleware',)
|
|
||||||
INSTALLED_APPS += ('debug_toolbar',)
|
INSTALLED_APPS += ('debug_toolbar',)
|
||||||
|
MIDDLEWARE_CLASSES = Common.MIDDLEWARE_CLASSES + ('debug_toolbar.middleware.DebugToolbarMiddleware',)
|
||||||
|
|
||||||
INTERNAL_IPS = ('127.0.0.1',)
|
INTERNAL_IPS = ('127.0.0.1',)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user