aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/urls.py
diff options
context:
space:
mode:
authorRob Hudson2008-09-11 23:21:12 -0700
committerRob Hudson2008-09-11 23:21:12 -0700
commit4591e34f0140c43e68e4ecd97eae7f3ea05878f6 (patch)
treecfb460212471d9d41b32e2732620822e3cf38e22 /debug_toolbar/urls.py
parent8377ea179568c1fbf8f46db1234e85d689daae0a (diff)
downloaddjango-debug-toolbar-4591e34f0140c43e68e4ecd97eae7f3ea05878f6.tar.bz2
Adding view to explain SQL passed in via query string. Hopefully this is
database backend agnostic. Next up is connecting this with the SQL panel via AJAX.
Diffstat (limited to 'debug_toolbar/urls.py')
-rw-r--r--debug_toolbar/urls.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/debug_toolbar/urls.py b/debug_toolbar/urls.py
new file mode 100644
index 0000000..24d4b12
--- /dev/null
+++ b/debug_toolbar/urls.py
@@ -0,0 +1,6 @@
+from django.conf.urls.defaults import *
+
+urlpatterns = patterns('',
+ # EXPLAIN SQL via AJAX
+ url(r'explain/$', 'debug_toolbar.views.explain', name='explain_sql'),
+)