Changeset 7081
- Timestamp:
- 02/03/08 19:48:53 (7 months ago)
- Files:
-
- django/trunk/docs/request_response.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/request_response.txt
r6941 r7081 576 576 in the 404. 577 577 578 * The 404 view is passed a ``RequestContext`` and will have access to 579 variables supplied by your ``TEMPLATE_CONTEXT_PROCESSORS`` (e.g. 580 ``MEDIA_URL``). 581 578 582 * If ``DEBUG`` is set to ``True`` (in your settings module), then your 404 579 583 view will never be used, and the traceback will be displayed instead. … … 588 592 589 593 This means you need to define a ``500.html`` template in your root template 590 directory. This template will be used for all server errors. The 591 default 500 view passes no variables to this template. 594 directory. This template will be used for all server errors. The default 500 595 view passes no variables to this template and is rendered with an empty 596 ``Context`` to lessen the chance of additional errors. 592 597 593 598 This ``server_error`` view should suffice for 99% of Web applications, but if
