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:4 Changed 5 years ago by
|Status:||closed → reopened|
|Version:||1.0 → 1.4-rc-1|