Show error page templates

This commit is contained in:
David Baumgold
2014-05-02 13:41:34 -04:00
parent 9d2b85d340
commit 71a50c58d7

View File

@@ -140,3 +140,9 @@ if settings.DEBUG:
# pylint: disable=C0103
handler404 = 'contentstore.views.render_404'
handler500 = 'contentstore.views.render_500'
# display error page templates, for testing purposes
urlpatterns += (
url(r'404', handler404),
url(r'500', handler500),
)