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
9986a664
Commit
9986a664
authored
Feb 19, 2014
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2650 from edx/zoldak/dbt-onto-release
Rollback Django Debug Toolbar from 1.0.1 to 0.9.4
parents
3d2b1df6
f375368c
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
62 additions
and
55 deletions
+62
-55
cms/envs/dev.py
+1
-1
cms/envs/dev_dbperf.py
+10
-10
cms/envs/devstack.py
+8
-8
lms/envs/content.py
+9
-10
lms/envs/dev.py
+1
-1
lms/envs/devplus.py
+9
-9
lms/envs/devstack.py
+14
-14
requirements/edx/base.txt
+10
-2
No files found.
cms/envs/dev.py
View file @
9986a664
...
...
@@ -160,7 +160,7 @@ DEBUG_TOOLBAR_PANELS = (
# Django=1.3.1/1.4 where requests to views get duplicated (your method gets
# hit twice). So you can uncomment when you need to diagnose performance
# problems, but you shouldn't leave it on.
# 'debug_toolbar.panels.profiling.ProfilingPanel',
# 'debug_toolbar.panels.profiling.Profiling
Debug
Panel',
)
DEBUG_TOOLBAR_CONFIG
=
{
...
...
cms/envs/dev_dbperf.py
View file @
9986a664
...
...
@@ -9,21 +9,21 @@ This configuration is to turn on the Django Toolbar stats for DB access stats, f
from
.dev
import
*
DEBUG_TOOLBAR_PANELS
=
(
'debug_toolbar.panels.version
s.Versions
Panel'
,
'debug_toolbar.panels.timer.TimerPanel'
,
'debug_toolbar.panels.settings
.Settings
Panel'
,
'debug_toolbar.panels.headers.Header
s
Panel'
,
'debug_toolbar.panels.request
.Request
Panel'
,
'debug_toolbar.panels.sql.SQLPanel'
,
'debug_toolbar.panels.signals.Signal
s
Panel'
,
'debug_toolbar.panels.logg
ing
.LoggingPanel'
,
'debug_toolbar_mongo.panel.MongoDebugPanel'
,
'debug_toolbar.panels.version
.VersionDebug
Panel'
,
'debug_toolbar.panels.timer.Timer
Debug
Panel'
,
'debug_toolbar.panels.settings
_vars.SettingsVarsDebug
Panel'
,
'debug_toolbar.panels.headers.Header
Debug
Panel'
,
'debug_toolbar.panels.request
_vars.RequestVarsDebug
Panel'
,
'debug_toolbar.panels.sql.SQL
Debug
Panel'
,
'debug_toolbar.panels.signals.Signal
Debug
Panel'
,
'debug_toolbar.panels.logg
er
.LoggingPanel'
,
'debug_toolbar_mongo.panel.MongoDebugPanel'
# Enabling the profiler has a weird bug as of django-debug-toolbar==0.9.4 and
# Django=1.3.1/1.4 where requests to views get duplicated (your method gets
# hit twice). So you can uncomment when you need to diagnose performance
# problems, but you shouldn't leave it on.
# 'debug_toolbar.panels.profiling.ProfilingPanel',
# 'debug_toolbar.panels.profiling.Profiling
Debug
Panel',
)
# To see stacktraces for MongoDB queries, set this to True.
...
...
cms/envs/devstack.py
View file @
9986a664
...
...
@@ -37,14 +37,14 @@ MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
INTERNAL_IPS
=
(
'127.0.0.1'
,)
DEBUG_TOOLBAR_PANELS
=
(
'debug_toolbar.panels.version
s.Versions
Panel'
,
'debug_toolbar.panels.timer.TimerPanel'
,
'debug_toolbar.panels.settings
.Settings
Panel'
,
'debug_toolbar.panels.headers.Header
s
Panel'
,
'debug_toolbar.panels.request
.Request
Panel'
,
'debug_toolbar.panels.sql.SQLPanel'
,
'debug_toolbar.panels.signals.Signal
s
Panel'
,
'debug_toolbar.panels.logg
ing
.LoggingPanel'
,
'debug_toolbar.panels.version
.VersionDebug
Panel'
,
'debug_toolbar.panels.timer.Timer
Debug
Panel'
,
'debug_toolbar.panels.settings
_vars.SettingsVarsDebug
Panel'
,
'debug_toolbar.panels.headers.Header
Debug
Panel'
,
'debug_toolbar.panels.request
_vars.RequestVarsDebug
Panel'
,
'debug_toolbar.panels.sql.SQL
Debug
Panel'
,
'debug_toolbar.panels.signals.Signal
Debug
Panel'
,
'debug_toolbar.panels.logg
er
.LoggingPanel'
,
# Enabling the profiler has a weird bug as of django-debug-toolbar==0.9.4 and
# Django=1.3.1/1.4 where requests to views get duplicated (your method gets
...
...
lms/envs/content.py
View file @
9986a664
...
...
@@ -19,19 +19,18 @@ INSTALLED_APPS += ('debug_toolbar',)
MIDDLEWARE_CLASSES
+=
(
'debug_toolbar.middleware.DebugToolbarMiddleware'
,)
DEBUG_TOOLBAR_PANELS
=
(
'debug_toolbar.panels.version
s.Versions
Panel'
,
'debug_toolbar.panels.timer.TimerPanel'
,
'debug_toolbar.panels.settings
.Settings
Panel'
,
'debug_toolbar.panels.headers.Header
s
Panel'
,
'debug_toolbar.panels.request
.Request
Panel'
,
'debug_toolbar.panels.sql.SQLPanel'
,
'debug_toolbar.panels.signals.Signal
s
Panel'
,
'debug_toolbar.panels.logg
ing
.LoggingPanel'
,
'debug_toolbar.panels.version
.VersionDebug
Panel'
,
'debug_toolbar.panels.timer.Timer
Debug
Panel'
,
'debug_toolbar.panels.settings
_vars.SettingsVarsDebug
Panel'
,
'debug_toolbar.panels.headers.Header
Debug
Panel'
,
'debug_toolbar.panels.request
_vars.RequestVarsDebug
Panel'
,
'debug_toolbar.panels.sql.SQL
Debug
Panel'
,
'debug_toolbar.panels.signals.Signal
Debug
Panel'
,
'debug_toolbar.panels.logg
er
.LoggingPanel'
,
# Enabling the profiler has a weird bug as of django-debug-toolbar==0.9.4 and
# Django=1.3.1/1.4 where requests to views get duplicated (your method gets
# hit twice). So you can uncomment when you need to diagnose performance
# problems, but you shouldn't leave it on.
# 'debug_toolbar.panels.profiling.ProfilingPanel',
# 'debug_toolbar.panels.profiling.Profiling
Debug
Panel',
)
lms/envs/dev.py
View file @
9986a664
...
...
@@ -230,7 +230,7 @@ DEBUG_TOOLBAR_PANELS = (
# Django=1.3.1/1.4 where requests to views get duplicated (your method gets
# hit twice). So you can uncomment when you need to diagnose performance
# problems, but you shouldn't leave it on.
# 'debug_toolbar.panels.profiling.ProfilingPanel',
# 'debug_toolbar.panels.profiling.Profiling
Debug
Panel',
)
DEBUG_TOOLBAR_CONFIG
=
{
...
...
lms/envs/devplus.py
View file @
9986a664
...
...
@@ -57,20 +57,20 @@ MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
INTERNAL_IPS
=
(
'127.0.0.1'
,)
DEBUG_TOOLBAR_PANELS
=
(
'debug_toolbar.panels.version
s.Versions
Panel'
,
'debug_toolbar.panels.timer.TimerPanel'
,
'debug_toolbar.panels.settings
.Settings
Panel'
,
'debug_toolbar.panels.headers.Header
s
Panel'
,
'debug_toolbar.panels.request
.Request
Panel'
,
'debug_toolbar.panels.sql.SQLPanel'
,
'debug_toolbar.panels.signals.Signal
s
Panel'
,
'debug_toolbar.panels.logg
ing
.LoggingPanel'
,
'debug_toolbar.panels.version
.VersionDebug
Panel'
,
'debug_toolbar.panels.timer.Timer
Debug
Panel'
,
'debug_toolbar.panels.settings
_vars.SettingsVarsDebug
Panel'
,
'debug_toolbar.panels.headers.Header
Debug
Panel'
,
'debug_toolbar.panels.request
_vars.RequestVarsDebug
Panel'
,
'debug_toolbar.panels.sql.SQL
Debug
Panel'
,
'debug_toolbar.panels.signals.Signal
Debug
Panel'
,
'debug_toolbar.panels.logg
er
.LoggingPanel'
,
# Enabling the profiler has a weird bug as of django-debug-toolbar==0.9.4 and
# Django=1.3.1/1.4 where requests to views get duplicated (your method gets
# hit twice). So you can uncomment when you need to diagnose performance
# problems, but you shouldn't leave it on.
'debug_toolbar.panels.profiling.ProfilingPanel'
,
'debug_toolbar.panels.profiling.Profiling
Debug
Panel'
,
)
#PIPELINE = True
lms/envs/devstack.py
View file @
9986a664
...
...
@@ -35,20 +35,20 @@ MIDDLEWARE_CLASSES += ('django_comment_client.utils.QueryCountDebugMiddleware',
INTERNAL_IPS
=
(
'127.0.0.1'
,)
DEBUG_TOOLBAR_PANELS
=
(
'debug_toolbar.panels.version
s.Versions
Panel'
,
'debug_toolbar.panels.timer.TimerPanel'
,
'debug_toolbar.panels.settings
.Settings
Panel'
,
'debug_toolbar.panels.headers.Header
s
Panel'
,
'debug_toolbar.panels.request
.Request
Panel'
,
'debug_toolbar.panels.sql.SQLPanel'
,
'debug_toolbar.panels.signals.Signal
s
Panel'
,
'debug_toolbar.panels.logg
ing
.LoggingPanel'
,
# Enabling the profiler has a weird bug as of django-debug-toolbar==0.9.4 and
# Django=1.3.1/1.4 where requests to views get duplicated (your method gets
# hit twice). So you can uncomment when you need to diagnose performance
# problems, but you shouldn't leave it on.
# 'debug_toolbar.panels.profiling.ProfilingPanel',
'debug_toolbar.panels.version
.VersionDebug
Panel'
,
'debug_toolbar.panels.timer.Timer
Debug
Panel'
,
'debug_toolbar.panels.settings
_vars.SettingsVarsDebug
Panel'
,
'debug_toolbar.panels.headers.Header
Debug
Panel'
,
'debug_toolbar.panels.request
_vars.RequestVarsDebug
Panel'
,
'debug_toolbar.panels.sql.SQL
Debug
Panel'
,
'debug_toolbar.panels.signals.Signal
Debug
Panel'
,
'debug_toolbar.panels.logg
er
.LoggingPanel'
,
# Enabling the profiler has a weird bug as of django-debug-toolbar==0.9.4 and
# Django=1.3.1/1.4 where requests to views get duplicated (your method gets
# hit twice). So you can uncomment when you need to diagnose performance
# problems, but you shouldn't leave it on.
# 'debug_toolbar.panels.profiling.ProfilingPanel',
)
DEBUG_TOOLBAR_CONFIG
=
{
...
...
requirements/edx/base.txt
View file @
9986a664
...
...
@@ -93,12 +93,20 @@ sphinx_rtd_theme==0.1.5
Babel==1.3
transifex-client==0.10
# We've tried several times to update the debug toolbar to version 1.0.1,
# and had problems each time, resulting in us rolling back to 0.9.4. Before
# submitting another pull request to do this update, check the following:
# * https://github.com/django-debug-toolbar/django-debug-toolbar/issues/535 should be resolved
# * Studio and CMS should both run correctly, both directly and via devstack
# * Check the Javascript console to be sure there are no Javascript errors
# related to the Django debug toolbar
django_debug_toolbar==0.9.4
django-debug-toolbar-mongo
# Used for testing
coverage==3.7
ddt==0.6.0
django-crum==0.5
django-debug-toolbar-mongo
django_debug_toolbar==1.0.1
django_nose==1.1
factory_boy==2.2.1
freezegun==0.1.11
...
...
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