handler404 needs an example
|Reported by:||mnieber||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I'm doing the tutorial and tried to set up my own 404 handler, following the hints in the tutorial.
However, here the tutorial is not clear:
- where exactly does Django look for the handler404 name?
- should I assign a new object to django.conf.urls.defaults.handler404, or create the name handler404 inside the views module?
- I did not create a 404.html, how come Django does not complain about that? (quote: The default 404 view will use that template for all 404 errors.)
An example of setting up your own 404 handler would help a lot (I still have not managed, so now it feels like I missed a point somewhere).
By the way, the tutorial is excellent in all other aspects!
Change History (5)
comment:1 Changed 7 years ago by thejaswi_puthraya
- Component changed from Uncategorized to Documentation
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:3 in reply to: ↑ description Changed 6 years ago by rctay
- Resolution set to worksforme
- Status changed from new to closed
comment:4 Changed 4 years ago by anonymous
- Easy pickings unset
- Resolution worksforme deleted
- Severity set to Normal
- Status changed from closed to reopened
- Type set to Uncategorized
- UI/UX unset
- Version changed from 1.0 to 1.4-rc-1