Add the Django debug toolbar middleware at the beginning as per the docs

This commit is contained in:
Roberto Rosario
2014-07-11 02:47:56 -04:00
parent 657b9106c2
commit 548ccda347

View File

@@ -27,4 +27,4 @@ TEMPLATE_CONTEXT_PROCESSORS += ('django.core.context_processors.debug',)
WSGI_AUTO_RELOAD = True
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
MIDDLEWARE_CLASSES = ('debug_toolbar.middleware.DebugToolbarMiddleware',) + MIDDLEWARE_CLASSES