Opened 14 years ago
Closed 14 years ago
#16214 closed Cleanup/optimization (fixed)
Simplify docs for 404 and 500 views
| Reported by: | Aymeric Augustin | Owned by: | nobody | 
|---|---|---|---|
| Component: | Documentation | Version: | dev | 
| Severity: | Normal | Keywords: | |
| Cc: | zerok@… | Triage Stage: | Ready for checkin | 
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | yes | UI/UX: | no | 
Description
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.
Attachments (1)
Change History (5)
by , 14 years ago
| Attachment: | clean-up-error-views-docs.patch added | 
|---|
comment:1 by , 14 years ago
| Triage Stage: | Unreviewed → Accepted | 
|---|
comment:2 by , 14 years ago
| Cc: | added | 
|---|
comment:3 by , 14 years ago
| Triage Stage: | Accepted → Ready for checkin | 
|---|
  Note:
 See   TracTickets
 for help on using tickets.
    
Looks a lot clearer.