Simplified an unnecessarily complex paragraph in view docs

This commit is contained in:
Erik Romijn 2014-05-16 11:21:56 +02:00
parent e520a73eee
commit 257fd48004
1 changed files with 3 additions and 5 deletions

View File

@ -199,11 +199,9 @@ Behind the scenes, Django determines the 500 view by looking for
``handler500`` in your root URLconf, and falling back to
``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
instead, with some debug information.
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
instead, with some debug information.
.. _http_forbidden_view: