Commit 0dddf9eb by Michael Roytman Committed by GitHub

Merge pull request #15660 from edx/mroytman/PLAT_1495_django_1.11_upgrade_django-debug-toolbar

update django-debug-toolbar from 1.5 to 1.8
parents 8463dd49 54f4a9de
......@@ -86,7 +86,6 @@ DEBUG_TOOLBAR_CONFIG = {
'debug_toolbar.panels.profiling.ProfilingPanel',
),
'SHOW_TOOLBAR_CALLBACK': 'cms.envs.devstack.should_show_debug_toolbar',
'JQUERY_URL': None,
}
......@@ -94,9 +93,6 @@ def should_show_debug_toolbar(request):
# We always want the toolbar on devstack unless running tests from another Docker container
if request.get_host().startswith('edx.devstack.studio:'):
return False
# Only display for non-ajax requests.
if request.is_ajax():
return False
return True
......
......@@ -83,7 +83,6 @@ DEBUG_TOOLBAR_PANELS = (
DEBUG_TOOLBAR_CONFIG = {
'SHOW_TOOLBAR_CALLBACK': 'lms.envs.devstack.should_show_debug_toolbar',
'JQUERY_URL': None,
}
......@@ -91,9 +90,6 @@ def should_show_debug_toolbar(request):
# We always want the toolbar on devstack unless running tests from another Docker container
if request.get_host().startswith('edx.devstack.lms:'):
return False
# Only display for non-ajax requests.
if request.is_ajax():
return False
return True
########################### PIPELINE #################################
......
......@@ -149,7 +149,7 @@ ipaddr==2.1.11
django-cors-headers==1.1.0
# Debug toolbar
django_debug_toolbar==1.5
django_debug_toolbar==1.8
sqlparse>=0.2.0,<0.3.0
# Used for testing
......
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