Django

Code

Ticket #6278 (closed: fixed)

Opened 10 months ago

Last modified 8 months ago

Document that 404 has RequestContext and 500 doesn't

Reported by: Rob Hudson <treborhudson@gmail.com> Assigned to: nobody
Milestone: Component: Documentation
Version: SVN Keywords: 404 500
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

Just figured this out the hard way so I thought I'd supply some documentation...

404 is rendered with RequestContext? and 500 is passed an empty Context({}).

Attachments

404_500_docs.diff (1.1 kB) - added by Rob Hudson <treborhudson@gmail.com> on 12/26/07 17:21:17.

Change History

12/26/07 17:21:17 changed by Rob Hudson <treborhudson@gmail.com>

  • attachment 404_500_docs.diff added.

01/13/08 07:49:24 changed by Simon Greenhill <dev@simon.net.nz>

  • needs_better_patch changed.
  • stage changed from Unreviewed to Ready for checkin.
  • needs_tests changed.
  • needs_docs changed.

02/03/08 19:48:54 changed by mtredinnick

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

(In [7081]) Fixed #6278 -- Documented that the 404 template is passed a RequestContext? and the 500 handler is not. Thanks, Rob Hudson.


Add/Change #6278 (Document that 404 has RequestContext and 500 doesn't)




Change Properties
Action