We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 599d76e + 8331e70 commit 7b610e9Copy full SHA for 7b610e9
debug_toolbar/middleware.py
@@ -84,6 +84,8 @@ def process_request(self, request):
84
new_urlconf.urlpatterns = debug_toolbar.urls.urlpatterns + \
85
list(urlconf.urlpatterns)
86
87
+ if hasattr(urlconf, 'handler403'):
88
+ new_urlconf.handler403 = urlconf.handler403
89
if hasattr(urlconf, 'handler404'):
90
new_urlconf.handler404 = urlconf.handler404
91
if hasattr(urlconf, 'handler500'):
0 commit comments