Merge pull request #13371 from edx/george/disable-ddt-profile-panel

Disable debug-toolbar ProfilingPanel
This commit is contained in:
George Song
2016-08-31 17:14:03 -07:00
committed by GitHub

View File

@@ -79,7 +79,12 @@ DEBUG_TOOLBAR_PANELS = (
)
DEBUG_TOOLBAR_CONFIG = {
'SHOW_TOOLBAR_CALLBACK': 'cms.envs.devstack.should_show_debug_toolbar'
# Profile panel is incompatible with wrapped views
# See https://github.com/jazzband/django-debug-toolbar/issues/792
'DISABLE_PANELS': (
'debug_toolbar.panels.profiling.ProfilingPanel',
),
'SHOW_TOOLBAR_CALLBACK': 'cms.envs.devstack.should_show_debug_toolbar',
}