Opened 9 years ago

Closed 9 years ago

#5550 closed (fixed)

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

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

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

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by Simon G. <dev@…>

Triage Stage: UnreviewedAccepted

Want to write it up?

Changed 9 years ago by whiskybar

Attachment: doc404.diff added

comment:2 Changed 9 years ago by whiskybar

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

comment:3 Changed 9 years ago by James Bennett

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