diff options
| author | kmichel | 2012-06-03 15:20:45 +0300 |
|---|---|---|
| committer | kmichel | 2012-06-03 15:20:45 +0300 |
| commit | 8331e70299f1ec79077c17503ab5359cbbd7faa0 (patch) | |
| tree | 8fc09345ba103a3f879b2fe57525ca4dbaaf01cf /debug_toolbar/middleware.py | |
| parent | 6207ea9d54bccc0cab0913b1b638aec29858e70a (diff) | |
| download | django-debug-toolbar-8331e70299f1ec79077c17503ab5359cbbd7faa0.tar.bz2 | |
Fixed typo when propagating handler403 value
It was propagated to handler404 instead of handler403.
Diffstat (limited to 'debug_toolbar/middleware.py')
| -rw-r--r-- | debug_toolbar/middleware.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/middleware.py b/debug_toolbar/middleware.py index 6979c8d..af898f1 100644 --- a/debug_toolbar/middleware.py +++ b/debug_toolbar/middleware.py @@ -85,7 +85,7 @@ class DebugToolbarMiddleware(object): list(urlconf.urlpatterns) if hasattr(urlconf, 'handler403'): - new_urlconf.handler404 = urlconf.handler403 + new_urlconf.handler403 = urlconf.handler403 if hasattr(urlconf, 'handler404'): new_urlconf.handler404 = urlconf.handler404 if hasattr(urlconf, 'handler500'): |
