aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/middleware.py
diff options
context:
space:
mode:
authorDavid Cramer2011-10-26 13:44:57 -0700
committerDavid Cramer2011-10-26 13:44:57 -0700
commitf3cec8fc9bc65149e7b58a90b5264df4ed6d3859 (patch)
tree4888892ead8db417ad6b7034c2c66b9052c63594 /debug_toolbar/middleware.py
parentc9147364e40fd01d5fafcbdeb1c9563d2b5a4361 (diff)
parente455bec46f7beb92526acf100d269d88c2ede064 (diff)
downloaddjango-debug-toolbar-f3cec8fc9bc65149e7b58a90b5264df4ed6d3859.tar.bz2
Merge pull request #223 from Apkawa/master
Fixed profiling.ProfilingDebugPanel and bug for raw sql with no latin comments
Diffstat (limited to 'debug_toolbar/middleware.py')
-rw-r--r--debug_toolbar/middleware.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/debug_toolbar/middleware.py b/debug_toolbar/middleware.py
index f49a29f..8f0445a 100644
--- a/debug_toolbar/middleware.py
+++ b/debug_toolbar/middleware.py
@@ -74,7 +74,6 @@ class DebugToolbarMiddleware(object):
def process_request(self, request):
__traceback_hide__ = True
if self.show_toolbar(request):
-
urlconf = getattr(request, 'urlconf', settings.ROOT_URLCONF)
if isinstance(urlconf, basestring):
urlconf = import_module(getattr(request, 'urlconf', settings.ROOT_URLCONF))