Test 404 view
Request Method: | GET |
---|---|
Request URL: | http://localhost:8000/django_admin_tests/v5.1/english/defaults/404/ |
Raised by: | demo.demo_urls.page_not_found |
Using the URLconf defined in demo.urls
,
Django tried these URL patterns, in this order:
The current path, django_admin_tests/v5.1/english/defaults/404/
,
matched the last one.
You’re seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.