Display DataLesson 20Free preview
Django 404 Template
This lesson is part of Django · All levels
Summary
The 404 page can be customized by adding a template 404.html. Django will automatically wear it when the page is not found. That way the error display stays consistent with your site.
Key points
- Create a template (404.html)
- Django automatically uses it for error 404
- Improve user experience when a page is missing
- Put it in the application template folder
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.