From f492b56c8200eebb77b8023ab386c9ef412cc06b Mon Sep 17 00:00:00 2001 From: David Cramer Date: Wed, 30 Mar 2011 16:33:34 -0700 Subject: Some initial tests and fix for execution model --- debug_toolbar/tests/urls.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 debug_toolbar/tests/urls.py (limited to 'debug_toolbar/tests/urls.py') 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'), +) -- cgit v1.2.3