aboutsummaryrefslogtreecommitdiffstats
path: root/tests/urls.py
diff options
context:
space:
mode:
authorDavid Cramer2011-06-14 12:38:55 -0700
committerDavid Cramer2011-06-14 12:38:55 -0700
commit4ee67a1632f41a873d997ae15ac0a2eccca04430 (patch)
tree8ee7b6fca627ae86356aa9f22002f2ada069c52b /tests/urls.py
parentc61daab0ce10d9654ecb9ce70819233171885eae (diff)
downloaddjango-debug-toolbar-4ee67a1632f41a873d997ae15ac0a2eccca04430.tar.bz2
Move test suite into parent namespace
Diffstat (limited to 'tests/urls.py')
-rw-r--r--tests/urls.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/urls.py b/tests/urls.py
new file mode 100644
index 0000000..d1cb07f
--- /dev/null
+++ b/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/$', 'tests.views.execute_sql'),
+)