add: шаблон для ошибки (1) 404

This commit is contained in:
erjemin committed 2026-09-14 00:02:45 +03:00
1 parent c7ed8235ed
commit 2e11b536cb
7 files changed
+652 -6

No files matched your search

+6 -1
View File
@@ -19,4 +19,9 @@ urlpatterns = [
]
if settings.DEBUG:
urlpatterns += [path("tmp/", views.tmp, name="web_tmp")]
urlpatterns += [
path("tmp/", views.tmp, name="web_tmp"),
path("_error", views.debug_error_preview, name="debug_error_list"),
path("_error/", views.debug_error_preview, name="debug_error_list_slash"),
path("_error/<path:code>", views.debug_error_preview, name="debug_error_preview"),
]