Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
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-ora2
Commits
7d1197a7
Commit
7d1197a7
authored
Mar 05, 2014
by
David Ormsbee
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #81 from edx/ormsbee/debug_toolbar
Add Django Debug Toolbar to default dev config.
parents
5560c9b1
7e40ea0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
settings/dev.py
+7
-4
No files found.
settings/dev.py
View file @
7d1197a7
...
...
@@ -5,10 +5,14 @@ Dev-specific Django settings.
# Inherit from base settings
from
.base
import
*
INSTALLED_APPS
+=
(
'django_pdb'
,
# Allows post-mortem debugging on exceptions
'debug_toolbar'
,
)
MIDDLEWARE_CLASSES
+=
(
'django_pdb.middleware.PdbMiddleware'
,
# Needed to enable shell-on-crash behavior
'debug_toolbar.middleware.DebugToolbarMiddleware'
,
)
INSTALLED_APPS
+=
(
'django_pdb'
,
# Allows post-mortem debugging on exceptions
)
\ No newline at end of file
INTERNAL_IPS
=
(
'127.0.0.1'
,)
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