Commit 49549282 by George Song Committed by GitHub

Merge pull request #13352 from edx/george/update-django-debug-toolbar

Update to latest `django-debug-toolbar`
parents 54ddede0 194ace0f
...@@ -77,6 +77,9 @@ from lms.envs.common import ( ...@@ -77,6 +77,9 @@ from lms.envs.common import (
REDIRECT_CACHE_KEY_PREFIX, REDIRECT_CACHE_KEY_PREFIX,
JWT_AUTH, JWT_AUTH,
# django-debug-toolbar
DEBUG_TOOLBAR_PATCH_SETTINGS,
) )
from path import Path as path from path import Path as path
from warnings import simplefilter from warnings import simplefilter
...@@ -710,15 +713,6 @@ REQUIRE_EXCLUDE = ("build.txt",) ...@@ -710,15 +713,6 @@ REQUIRE_EXCLUDE = ("build.txt",)
# returns a list with the command arguments to execute. # returns a list with the command arguments to execute.
REQUIRE_ENVIRONMENT = "node" REQUIRE_ENVIRONMENT = "node"
########################## DJANGO DEBUG TOOLBAR ###############################
# We don't enable Django Debug Toolbar universally, but whenever we do, we want
# to avoid patching settings. Patched settings can cause circular import
# problems: http://django-debug-toolbar.readthedocs.org/en/1.0/installation.html#explicit-setup
DEBUG_TOOLBAR_PATCH_SETTINGS = False
################################# CELERY ###################################### ################################# CELERY ######################################
# Message configuration # Message configuration
......
...@@ -1706,6 +1706,15 @@ REQUIRE_JS_PATH_OVERRIDES = { ...@@ -1706,6 +1706,15 @@ REQUIRE_JS_PATH_OVERRIDES = {
'js/groups/views/cohorts_dashboard_factory': 'js/groups/views/cohorts_dashboard_factory.js', 'js/groups/views/cohorts_dashboard_factory': 'js/groups/views/cohorts_dashboard_factory.js',
'draggabilly': 'js/vendor/draggabilly.js' 'draggabilly': 'js/vendor/draggabilly.js'
} }
########################## DJANGO DEBUG TOOLBAR ###############################
# We don't enable Django Debug Toolbar universally, but whenever we do, we want
# to avoid patching settings. Patched settings can cause circular import
# problems: http://django-debug-toolbar.readthedocs.org/en/1.0/installation.html#explicit-setup
DEBUG_TOOLBAR_PATCH_SETTINGS = False
################################# CELERY ###################################### ################################# CELERY ######################################
# Celery's task autodiscovery won't find tasks nested in a tasks package. # Celery's task autodiscovery won't find tasks nested in a tasks package.
......
...@@ -138,7 +138,7 @@ ipaddr==2.1.11 ...@@ -138,7 +138,7 @@ ipaddr==2.1.11
django-cors-headers==1.1.0 django-cors-headers==1.1.0
# Debug toolbar # Debug toolbar
django_debug_toolbar==1.3.2 django_debug_toolbar==1.5
# Used for testing # Used for testing
before_after==0.1.3 before_after==0.1.3
......
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