Clarify that handler404 and handler500 only applies to project
|Reported by:||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
The documentation states that you can define handler404 and handler500 in your URLconf, but it doesn't say that this only works in the project-level URLconf, not inside an app.
I think it should be mentioned in these sections:
There are several questions about this at Stack Overflow (for example http://stackoverflow.com/questions/3309076/is-it-possible-to-include-a-custom-404-view-for-a-django-app-without-changing-any), so if the documentation could just say that it's impossible, it would save time for a lot of people.
Change History (10)
comment:1 Changed 6 years ago by
|Triage Stage:||Unreviewed → Accepted|
comment:7 Changed 6 years ago by
|Patch needs improvement:||set|