Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
49549282
Commit
49549282
authored
Aug 31, 2016
by
George Song
Committed by
GitHub
Aug 31, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13352 from edx/george/update-django-debug-toolbar
Update to latest `django-debug-toolbar`
parents
54ddede0
194ace0f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
10 deletions
+13
-10
cms/envs/common.py
+3
-9
lms/envs/common.py
+9
-0
requirements/edx/base.txt
+1
-1
No files found.
cms/envs/common.py
View file @
49549282
...
...
@@ -77,6 +77,9 @@ from lms.envs.common import (
REDIRECT_CACHE_KEY_PREFIX
,
JWT_AUTH
,
# django-debug-toolbar
DEBUG_TOOLBAR_PATCH_SETTINGS
,
)
from
path
import
Path
as
path
from
warnings
import
simplefilter
...
...
@@ -710,15 +713,6 @@ REQUIRE_EXCLUDE = ("build.txt",)
# returns a list with the command arguments to execute.
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 ######################################
# Message configuration
...
...
lms/envs/common.py
View file @
49549282
...
...
@@ -1706,6 +1706,15 @@ REQUIRE_JS_PATH_OVERRIDES = {
'js/groups/views/cohorts_dashboard_factory'
:
'js/groups/views/cohorts_dashboard_factory.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's task autodiscovery won't find tasks nested in a tasks package.
...
...
requirements/edx/base.txt
View file @
49549282
...
...
@@ -138,7 +138,7 @@ ipaddr==2.1.11
django-cors-headers==1.1.0
# Debug toolbar
django_debug_toolbar==1.
3.2
django_debug_toolbar==1.
5
# Used for testing
before_after==0.1.3
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment