Opened 8 years ago

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

Download all attachments as: .zip

Change History (4)

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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Want to write it up?

Changed 8 years ago by whiskybar

comment:2 Changed 8 years ago by whiskybar

  • Has patch set
  • Owner changed from nobody to whiskybar
  • Status changed from new to assigned
  • Triage Stage changed from Accepted to Ready for checkin

comment:3 Changed 8 years ago by ubernostrum

  • Resolution set to fixed
  • Status changed from assigned to closed

(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