From 4e6b6fac438518b12b1e5d29fa019cc4f6251ebf Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Wed, 9 Sep 2020 08:28:08 +0200 Subject: [PATCH] [3.1.x] Mentioned ASGI handler in SuspiciousOperation docs. Backport of 453967477e3ddae704cd739eac2449c0e13d464c from master --- docs/ref/exceptions.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/exceptions.txt b/docs/ref/exceptions.txt index 4b1837b632..5c2f4b8b66 100644 --- a/docs/ref/exceptions.txt +++ b/docs/ref/exceptions.txt @@ -85,8 +85,8 @@ Django core exception classes are defined in ``django.core.exceptions``. * ``SuspiciousSession`` * ``TooManyFieldsSent`` - If a ``SuspiciousOperation`` exception reaches the WSGI handler level it is - logged at the ``Error`` level and results in + If a ``SuspiciousOperation`` exception reaches the ASGI/WSGI handler level + it is logged at the ``Error`` level and results in a :class:`~django.http.HttpResponseBadRequest`. See the :doc:`logging documentation ` for more information.