Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
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
OpenEdx
django-wiki
Commits
c93f3c56
Commit
c93f3c56
authored
Jan 27, 2013
by
benjaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add debug_toolbar if installed
parent
27f5b44d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
testproject/testproject/settings.py
+11
-0
No files found.
testproject/testproject/settings.py
View file @
c93f3c56
...
...
@@ -149,3 +149,14 @@ WIKI_ANONYMOUS_CREATE = False
LOGIN_REDIRECT_URL
=
"/"
from
settings_local
import
*
try
:
import
debug_toolbar
#@UnusedImport
MIDDLEWARE_CLASSES
=
list
(
MIDDLEWARE_CLASSES
)
+
[
'debug_toolbar.middleware.DebugToolbarMiddleware'
,
]
INSTALLED_APPS
=
list
(
INSTALLED_APPS
)
+
[
'debug_toolbar'
]
INTERNAL_IPS
=
(
'127.0.0.1'
,)
DEBUG_TOOLBAR_CONFIG
=
{
'INTERCEPT_REDIRECTS'
:
False
}
except
ImportError
:
pass
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