Simplify docs for 404 and 500 views
|Reported by:||aaugustin||Owned by:||nobody|
|Cc:||zerok@…||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The current docs imply that from django.conf.urls.defaults import * is useful and recommended.
Actually it's not useful: Django will fallback to the default handler404 and handler500 even if they weren't imported in the root URLconf. And import * is generally not recommended.
Also, there some redundancy in this section and some missing information.
I tried to make these two paragraphs complete and consistent.
This cleanup also fixes #16079.
Change History (5)
Changed 4 years ago by aaugustin
comment:1 Changed 4 years ago by Horst Gutmann <zerok@…>
- Triage Stage changed from Unreviewed to Accepted