Add custom 404 and 500 error handlers with corresponding templates
All checks were successful
Ruff / ruff (push) Successful in 16s
All checks were successful
Ruff / ruff (push) Successful in 16s
This commit is contained in:
@ -8,8 +8,8 @@ from core.views import get_game, get_games, get_home
|
||||
|
||||
app_name: str = "core"
|
||||
|
||||
# TODO(TheLovinator): Add a 404 page and a 500 page.
|
||||
# https://docs.djangoproject.com/en/dev/topics/http/views/#customizing-error-views
|
||||
handler404 = "core.views.handler404"
|
||||
handler500 = "core.views.handler500"
|
||||
|
||||
# TODO(TheLovinator): Add a robots.txt file.
|
||||
# https://developers.google.com/search/docs/crawling-indexing/robots/intro
|
||||
|
Reference in New Issue
Block a user