diff options
| author | Apkawa | 2011-10-27 00:08:23 +0400 | 
|---|---|---|
| committer | Apkawa | 2011-10-27 00:08:23 +0400 | 
| commit | e455bec46f7beb92526acf100d269d88c2ede064 (patch) | |
| tree | 4888892ead8db417ad6b7034c2c66b9052c63594 /debug_toolbar/middleware.py | |
| parent | 0e262aefe7b272ac8d8725f2af2f304a26f20927 (diff) | |
| download | django-debug-toolbar-e455bec46f7beb92526acf100d269d88c2ede064.tar.bz2 | |
fixed AttributeError on 404 page exception in ProfilerPanel.process_response
Diffstat (limited to 'debug_toolbar/middleware.py')
| -rw-r--r-- | debug_toolbar/middleware.py | 1 | 
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)) | 
