aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/tests/views.py
diff options
context:
space:
mode:
authorDavid Cramer2011-03-30 16:33:34 -0700
committerDavid Cramer2011-03-30 16:33:34 -0700
commitf492b56c8200eebb77b8023ab386c9ef412cc06b (patch)
treee4b05a543bdbc5bdc2b179902ac824ae59f78224 /debug_toolbar/tests/views.py
parent65969f7777ce0bd6bba53540d960a93c27b346ce (diff)
downloaddjango-debug-toolbar-f492b56c8200eebb77b8023ab386c9ef412cc06b.tar.bz2
Some initial tests and fix for execution model
Diffstat (limited to 'debug_toolbar/tests/views.py')
-rw-r--r--debug_toolbar/tests/views.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/debug_toolbar/tests/views.py b/debug_toolbar/tests/views.py
new file mode 100644
index 0000000..f989dcd
--- /dev/null
+++ b/debug_toolbar/tests/views.py
@@ -0,0 +1,7 @@
+from django.contrib.auth.models import User
+from django.http import HttpResponse
+
+def execute_sql(request):
+ list(User.objects.all())
+
+ return HttpResponse() \ No newline at end of file