add: шаблон для ошибки (1) 404
This commit is contained in:
1 parent
c7ed8235ed
commit
2e11b536cb
7 files changed
+652
-6
No files matched your search
@@ -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"),
|
||||
]
|
||||
Reference in new issue
Block a user