aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/urls.py
diff options
context:
space:
mode:
authorMatt George2008-09-29 12:30:37 -0500
committerMatt George2008-09-29 12:30:37 -0500
commit4734384cecd18ee6497730dc997aa34040975d13 (patch)
treeadbbe87fbc1f441e83ea068f19a5128fffd98f09 /debug_toolbar/urls.py
parent2a32669822bddb31f687fcf6ca45f5d82d691e8d (diff)
parentce8c68b79c2de4abde01b29b1c73754ce4deb981 (diff)
downloaddjango-debug-toolbar-4734384cecd18ee6497730dc997aa34040975d13.tar.bz2
Merge branch 'master' of git://github.com/robhudson/django-debug-toolbar
Conflicts: debug_toolbar/templates/debug_toolbar/base.html
Diffstat (limited to 'debug_toolbar/urls.py')
-rw-r--r--debug_toolbar/urls.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/debug_toolbar/urls.py b/debug_toolbar/urls.py
new file mode 100644
index 0000000..e0e4b7a
--- /dev/null
+++ b/debug_toolbar/urls.py
@@ -0,0 +1,13 @@
+"""
+URLpatterns for the debug toolbar.
+
+These should not be loaded explicitly; the debug toolbar middleware will patch
+this into the urlconf for the request.
+"""
+from django.conf.urls.defaults import *
+from django.conf import settings
+
+urlpatterns = patterns('',
+ url(r'^__debug__/m/(.*)$', 'debug_toolbar.views.debug_media'),
+ url(r'^__debug__/sql_explain/$', 'debug_toolbar.views.sql_explain', name='sql_explain'),
+)