aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/tests/urls.py
diff options
context:
space:
mode:
authorDavid Cramer2011-05-10 00:02:39 -0700
committerDavid Cramer2011-05-10 00:02:39 -0700
commit875a26213b9c623ddc90bfcf92f419ac8b45d007 (patch)
tree458cfcc32d2d31ea54a6538aaae0d8b0ff2b0af9 /debug_toolbar/tests/urls.py
parent3292aff531d4dee5cf30a003d5d2ee745f718f86 (diff)
parentbbf99c1639bfec6d2edc4473f8adb278970db7a5 (diff)
downloaddjango-debug-toolbar-875a26213b9c623ddc90bfcf92f419ac8b45d007.tar.bz2
Merge branch 'master' into andrepl-master
Conflicts: debug_toolbar/middleware.py
Diffstat (limited to 'debug_toolbar/tests/urls.py')
-rw-r--r--debug_toolbar/tests/urls.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/debug_toolbar/tests/urls.py b/debug_toolbar/tests/urls.py
new file mode 100644
index 0000000..7c99b03
--- /dev/null
+++ b/debug_toolbar/tests/urls.py
@@ -0,0 +1,14 @@
+"""
+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.contrib import admin
+
+admin.autodiscover()
+
+urlpatterns = patterns('',
+ url(r'^execute_sql/$', 'debug_toolbar.tests.views.execute_sql'),
+)