diff --git a/eshop_project/urls.py b/eshop_project/urls.py index a95b52b..6ab5426 100644 --- a/eshop_project/urls.py +++ b/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'