Django

Code

Ticket #5550 (closed: fixed)

Opened 1 year ago

Last modified 9 months ago

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

Reported by: anonymous Assigned to: whiskybar
Milestone: Component: Documentation
Version: SVN Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

doc404.diff (2.2 kB) - added by whiskybar on 12/01/07 10:49:18.

Change History

09/20/07 03:27:43 changed by Simon G. <dev@simon.net.nz>

  • needs_better_patch changed.
  • stage changed from Unreviewed to Accepted.
  • needs_tests changed.
  • needs_docs changed.

Want to write it up?

12/01/07 10:49:18 changed by whiskybar

  • attachment doc404.diff added.

12/01/07 10:53:27 changed by whiskybar

  • owner changed from nobody to whiskybar.
  • status changed from new to assigned.
  • has_patch set to 1.
  • stage changed from Accepted to Ready for checkin.

12/01/07 14:11:55 changed by ubernostrum

  • status changed from assigned to closed.
  • resolution set to fixed.

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


Add/Change #5550 (write docs about the 404.html & 500.html files.)




Change Properties
Action