Commit 7ba9048a by George Song Committed by GitHub

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

Disable debug-toolbar ProfilingPanel
parents 35c16546 5811b92e
...@@ -79,7 +79,12 @@ DEBUG_TOOLBAR_PANELS = ( ...@@ -79,7 +79,12 @@ DEBUG_TOOLBAR_PANELS = (
) )
DEBUG_TOOLBAR_CONFIG = { 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',
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment