summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAaron Chong <aaronjhchong@hotmail.com>2022-02-09 01:25:33 +0800
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-09 12:10:26 +0100
commit2d472ad05c7fb2a5fe405be46af2062cdb5eaeee (patch)
treecef43f134afe44fd89c697fcf9e669e6515ec81b /docs
parentd35ce682e31ea4a86c2079c60721fae171f03d7c (diff)
Fixed #33495 -- Improved debug logging message about adapting handlers for middlewares.
It's the wrapped handler that's adapted to the wrapping middleware.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/async.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/async.txt b/docs/topics/async.txt
index 1cc5a7c15c..90a31b994b 100644
--- a/docs/topics/async.txt
+++ b/docs/topics/async.txt
@@ -52,9 +52,9 @@ If you want to use these, you will need to deploy Django using
Middleware can be built to support :ref:`both sync and async
<async-middleware>` contexts. Some of Django's middleware is built like
- this, but not all. To see what middleware Django has to adapt, you can turn
- on debug logging for the ``django.request`` logger and look for log
- messages about *"Synchronous middleware ... adapted"*.
+ this, but not all. To see what middleware Django has to adapt for, you can
+ turn on debug logging for the ``django.request`` logger and look for log
+ messages about *"Asynchronous handler adapted for middleware ..."*.
In both ASGI and WSGI mode, you can still safely use asynchronous support to
run code concurrently rather than serially. This is especially handy when