1
0
mirror of https://github.com/django/django.git synced 2025-04-15 04:44:37 +00:00

[3.2.x] Fixed -- Added note about DEBUG_PROPAGATE_EXCEPTIONS setting to middleware docs.

Backport of fc268c8648d0d0375d01d36aa1f05f1172ff1566 from main
This commit is contained in:
Hasan Ramezani 2021-04-09 13:17:46 +04:30 committed by Mariusz Felisiak
parent 49e618f4af
commit 0abbdc8ef6

@ -286,6 +286,9 @@ if the very next middleware in the chain raises an
that exception; instead it will get an :class:`~django.http.HttpResponse`
object with a :attr:`~django.http.HttpResponse.status_code` of 404.
You can set :setting:`DEBUG_PROPAGATE_EXCEPTIONS` to ``True`` to skip this
conversion and propagate exceptions upwards.
.. _async-middleware:
Asynchronous support