diff options
| author | David Cramer | 2011-10-26 13:44:57 -0700 |
|---|---|---|
| committer | David Cramer | 2011-10-26 13:44:57 -0700 |
| commit | f3cec8fc9bc65149e7b58a90b5264df4ed6d3859 (patch) | |
| tree | 4888892ead8db417ad6b7034c2c66b9052c63594 /debug_toolbar/middleware.py | |
| parent | c9147364e40fd01d5fafcbdeb1c9563d2b5a4361 (diff) | |
| parent | e455bec46f7beb92526acf100d269d88c2ede064 (diff) | |
| download | django-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.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)) |
