mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
Simplified an unnecessarily complex paragraph in view docs
This commit is contained in:
parent
e520a73eee
commit
257fd48004
@ -199,11 +199,9 @@ Behind the scenes, Django determines the 500 view by looking for
|
|||||||
``handler500`` in your root URLconf, and falling back to
|
``handler500`` in your root URLconf, and falling back to
|
||||||
``django.views.defaults.server_error`` if you did not define one.
|
``django.views.defaults.server_error`` if you did not define one.
|
||||||
|
|
||||||
One thing to note about 500 views:
|
If :setting:`DEBUG` is set to ``True`` (in your settings module), then
|
||||||
|
your 500 view will never be used, and the traceback will be displayed
|
||||||
* If :setting:`DEBUG` is set to ``True`` (in your settings module), then
|
instead, with some debug information.
|
||||||
your 500 view will never be used, and the traceback will be displayed
|
|
||||||
instead, with some debug information.
|
|
||||||
|
|
||||||
.. _http_forbidden_view:
|
.. _http_forbidden_view:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user