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

+5
View File
@@ -30,6 +30,11 @@ urlpatterns = [
path('', include('hypn0_site.urls')),
]
handler400 = "hypn0_site.views.error_400"
handler403 = "hypn0_site.views.error_403"
handler404 = "hypn0_site.views.error_404"
handler500 = "hypn0_site.views.error_500"
if settings.DEBUG:
import mimetypes
import debug_toolbar