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

Refine error page regexes such that they only match 404 and 500
This commit is contained in:
Renzo Lucioni
2015-05-15 16:28:34 -04:00

View File

@@ -662,6 +662,6 @@ handler500 = 'static_template_view.views.render_500'
# display error page templates, for testing purposes
urlpatterns += (
url(r'404', handler404),
url(r'500', handler500),
url(r'^404$', handler404),
url(r'^500$', handler500),
)