Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
rpteam
Revue de Press
Commits
50cdd3ae
Commit
50cdd3ae
authored
Apr 28, 2017
by
cynddl
Browse files
Add djdt URLs to project.urls in debug mode
parent
e6c3d1e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
project/urls.py
View file @
50cdd3ae
...
...
@@ -26,3 +26,8 @@ if settings.DEBUG:
settings
.
MEDIA_URL
,
document_root
=
settings
.
MEDIA_ROOT
)
import
debug_toolbar
urlpatterns
+=
[
url
(
r
'^__debug__/'
,
include
(
debug_toolbar
.
urls
)),
]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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