Merge pull request #7588 from edx/gprice/debug-toolbar-order
Move debug toolbar to end of devstack middleware
This commit is contained in:
@@ -45,11 +45,9 @@ ANALYTICS_DASHBOARD_URL = None
|
||||
################################ DEBUG TOOLBAR ################################
|
||||
|
||||
INSTALLED_APPS += ('debug_toolbar', 'debug_toolbar_mongo')
|
||||
MIDDLEWARE_CLASSES = (
|
||||
(
|
||||
'django_comment_client.utils.QueryCountDebugMiddleware',
|
||||
'debug_toolbar.middleware.DebugToolbarMiddleware',
|
||||
) + MIDDLEWARE_CLASSES
|
||||
MIDDLEWARE_CLASSES += (
|
||||
'django_comment_client.utils.QueryCountDebugMiddleware',
|
||||
'debug_toolbar.middleware.DebugToolbarMiddleware',
|
||||
)
|
||||
INTERNAL_IPS = ('127.0.0.1',)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user