Opened 14 years ago
Closed 14 years ago
#15514 closed (wontfix)
Django 1.2 tutorial03 error template clarification
Reported by: | Dave Everitt | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.2 |
Severity: | Keywords: | 404 template error debug | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
On page 3 of the Django tutorial, it's worth confirming that custom 404.html and 500.html templates need to be in the in the top level of the template tree, i.e. loose in the templates folder (as stated under Writing Views).
Note:
See TracTickets
for help on using tickets.
This text is already there: "If you don't define your own 404 view -- and simply use the default, which is recommended -- you still have one obligation: To create a 404.html template in the root of your template directory"