Change order of modern django debug toolbar.

This commit is contained in:
Daniel Roy Greenfeld 2017-04-17 10:51:58 -07:00 committed by GitHub
parent fc2b861f6c
commit 8b82dfae8a

View File

@ -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