Mentioned ASGI handler in SuspiciousOperation docs.

This commit is contained in:
Mariusz Felisiak 2020-09-09 08:28:08 +02:00
parent 2808cdc8fb
commit 453967477e
1 changed files with 2 additions and 2 deletions

View File

@ -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 </topics/logging/>` for more information.