1
0
mirror of https://github.com/django/django.git synced 2025-06-08 04:59:13 +00:00

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

View File

@ -199,9 +199,7 @@ 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
* 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 your 500 view will never be used, and the traceback will be displayed
instead, with some debug information. instead, with some debug information.