We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b51501e commit 82a1366Copy full SHA for 82a1366
hackday/urls.py
@@ -9,6 +9,13 @@
9
# Serve uploaded media during development
10
urlpatterns = static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
11
12
+# Enable debug toolbar in debug mode
13
+if settings.DEBUG:
14
+ import debug_toolbar
15
+ urlpatterns += patterns('',
16
+ url(r'^__debug__/', include(debug_toolbar.urls)),
17
+ )
18
+
19
urlpatterns += patterns('',
20
# Examples:
21
# url(r'^$', 'hackday.views.home', name='home'),
@@ -72,3 +79,4 @@
72
79
handler403 = 'hackday.common.forbidden'
73
80
handler404 = 'hackday.common.not_found'
74
81
handler500 = 'hackday.common.server_error'
82
0 commit comments