aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/middleware.py
diff options
context:
space:
mode:
authorDavid Cramer2012-01-03 15:04:51 -0800
committerDavid Cramer2012-01-03 15:04:51 -0800
commit7d353aade9eb93b1f84e08bc7717e9ad1b928d38 (patch)
treea3cc70467a6da172455b18c73c92295ad3bb7e95 /debug_toolbar/middleware.py
parentdc813e476f7c32d1ca856921671a2a38ebf8ddf2 (diff)
parentb8ea435dd3fc2af702c17b8de93d870d4988e81f (diff)
downloaddjango-debug-toolbar-7d353aade9eb93b1f84e08bc7717e9ad1b928d38.tar.bz2
Merge branch 'master' of github.com:django-debug-toolbar/django-debug-toolbar
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))