mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-23 15:54:12 +03:00
Change order of modern django debug toolbar.
This commit is contained in:
parent
fc2b861f6c
commit
8b82dfae8a
|
@ -36,6 +36,7 @@ if settings.DEBUG:
|
||||||
if 'debug_toolbar' in settings.INSTALLED_APPS:
|
if 'debug_toolbar' in settings.INSTALLED_APPS:
|
||||||
import debug_toolbar
|
import debug_toolbar
|
||||||
|
|
||||||
urlpatterns += [
|
urlpatterns = [
|
||||||
url(r'^__debug__/', include(debug_toolbar.urls)),
|
url(r'^__debug__/', include(debug_toolbar.urls)),
|
||||||
]
|
] + urlpatterns
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user