add project 404 and 500 handlers

remotes/origin/HEAD
Max Yakovenko 8 years ago
parent 1fe78748ed
commit 1bd3a2223b
  1. 3
      eshop_project/urls.py

@ -53,3 +53,6 @@ if settings.DEBUG:
urlpatterns = [
re_path(r'^__debug__/', include(debug_toolbar.urls))
] + urlpatterns
handler404 = 'core.views.Handler404View'
handler500 = 'core.views.Handler500View'

Loading…
Cancel
Save