Commit 85e8fa5d by Renzo Lucioni

Merge pull request #8074 from edx/hotfix/2015-05-15

Refine error page regexes such that they only match 404 and 500
parents 3643036f c940b615
...@@ -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