Opened 17 years ago

Closed 17 years ago

#5550 closed (fixed)

write docs about the 404.html & 500.html files.

Reported by: anonymous Owned by: whiskybar
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Write docs about the 404.html & 500.html files. I found two pages about the files 404.html and 500.html:
http://www.djangoproject.com/documentation/tutorial03/#write-a-404-page-not-found-view
http://www.djangoproject.com/documentation/request_response/#the-404-page-not-found-view

But i can't find a example of these files in the documentation.

I find a example here:
http://code.djangoproject.com/browser/djangoproject.com/django_website/templates/404.html
and here:
http://code.djangoproject.com/browser/djangoproject.com/django_website/templates/500.html

A django user must known whats in the context of these templates files, to write a nice own error page.

Attachments (1)

doc404.diff (2.2 KB ) - added by whiskybar 17 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Simon G. <dev@…>, 17 years ago

Triage Stage: UnreviewedAccepted

Want to write it up?

by whiskybar, 17 years ago

Attachment: doc404.diff added

comment:2 by whiskybar, 17 years ago

Has patch: set
Owner: changed from nobody to whiskybar
Status: newassigned
Triage Stage: AcceptedReady for checkin

comment:3 by James Bennett, 17 years ago

Resolution: fixed
Status: assignedclosed

(In [6808]) Fixed #5550: Documented the context used by the default view for 404 and 500 errors.

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