Simplify docs for 404 and 500 views
|Reported by:||Aymeric Augustin||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
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.