Commit c940b615 by Renzo Lucioni Committed by Will Daly

Refine error page regexes such that they only match 404 and 500

parent 3643036f
...@@ -662,6 +662,6 @@ handler500 = 'static_template_view.views.render_500' ...@@ -662,6 +662,6 @@ handler500 = 'static_template_view.views.render_500'
# display error page templates, for testing purposes # display error page templates, for testing purposes
urlpatterns += ( urlpatterns += (
url(r'404', handler404), url(r'^404$', handler404),
url(r'500', handler500), url(r'^500$', handler500),
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment