Opened 13 years ago

Closed 13 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)

clean-up-error-views-docs.patch (4.5 KB ) - added by Aymeric Augustin 13 years ago.

Download all attachments as: .zip

Change History (5)

by Aymeric Augustin, 13 years ago

comment:1 by Horst Gutmann <zerok@…>, 13 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Horst Gutmann <zerok@…>, 13 years ago

Cc: zerok@… added

comment:3 by Stephen Burrows, 13 years ago

Triage Stage: AcceptedReady for checkin

Looks a lot clearer.

comment:4 by Ramiro Morales, 13 years ago

Resolution: fixed
Status: newclosed

In [16449]:

Fixed #16214 -- Enhanced documentation about HTTP 404 and 500 status views and templates. Thanks Aymeric Augustin for the report and patch.

Note: See TracTickets for help on using tickets.
Back to Top