Opened 8 years ago

Closed 8 years ago

#16214 closed Cleanup/optimization (fixed)

Simplify docs for 404 and 500 views

Reported by: Aymeric Augustin Owned by: nobody
Component: Documentation Version: master
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


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 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by Aymeric Augustin

comment:1 Changed 8 years ago by Horst Gutmann <zerok@…>

Triage Stage: UnreviewedAccepted

comment:2 Changed 8 years ago by Horst Gutmann <zerok@…>

Cc: zerok@… added

comment:3 Changed 8 years ago by Stephen Burrows

Triage Stage: AcceptedReady for checkin

Looks a lot clearer.

comment:4 Changed 8 years ago by Ramiro Morales

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