aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/middleware.py
diff options
context:
space:
mode:
authorDavid Cramer2011-03-23 18:02:06 -0700
committerDavid Cramer2011-03-23 18:35:26 -0700
commit926643b1881422b2712a952a3c82697cbcad8285 (patch)
tree6ab1ed280a452d6f54e5a1b01ba980810804cfca /debug_toolbar/middleware.py
parente1f06b1ae3d518691dcff3a834441355580dcf1e (diff)
downloaddjango-debug-toolbar-926643b1881422b2712a952a3c82697cbcad8285.tar.bz2
Overhaul SQL panel to include better timeline, more compact queries, and better view of stacktrace
Diffstat (limited to 'debug_toolbar/middleware.py')
-rw-r--r--debug_toolbar/middleware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/middleware.py b/debug_toolbar/middleware.py
index 0c810ae..5a9568d 100644
--- a/debug_toolbar/middleware.py
+++ b/debug_toolbar/middleware.py
@@ -60,7 +60,7 @@ class DebugToolbarMiddleware(object):
if not remote_addr in settings.INTERNAL_IPS \
or (request.is_ajax() and \
not debug_toolbar.urls._PREFIX in request.path) \
- or not (settings.DEBUG or getattr(settings, 'TEST', False):
+ or not (settings.DEBUG or getattr(settings, 'TEST', False)):
return False
return True