diff options
| author | Hasan Ramezani <hasan.r67@gmail.com> | 2021-04-09 13:17:46 +0430 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-09 10:47:46 +0200 |
| commit | fc268c8648d0d0375d01d36aa1f05f1172ff1566 (patch) | |
| tree | adc0c6b1e57a7b1ce4750ca66ec47fa2e9f64d34 | |
| parent | e84b05432554125598b2536498462de8064f597c (diff) | |
Fixed #32535 -- Added note about DEBUG_PROPAGATE_EXCEPTIONS setting to middleware docs.
| -rw-r--r-- | docs/topics/http/middleware.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt index ac440a9fca..49fbde9dc4 100644 --- a/docs/topics/http/middleware.txt +++ b/docs/topics/http/middleware.txt @@ -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 |
