mirror of
https://github.com/django/django.git
synced 2024-12-24 10:05:46 +00:00
[4.2.x] Avoided counting exceptions in AsyncClient docs.
Follow up toad6bb20557
. Backport of9942a3e49b
from main
This commit is contained in:
parent
dcb9d7a0e4
commit
8e8c318449
@ -2025,7 +2025,7 @@ or as ``self.async_client`` on any test.
|
|||||||
.. class:: AsyncClient(enforce_csrf_checks=False, raise_request_exception=True, *, headers=None, **defaults)
|
.. class:: AsyncClient(enforce_csrf_checks=False, raise_request_exception=True, *, headers=None, **defaults)
|
||||||
|
|
||||||
``AsyncClient`` has the same methods and signatures as the synchronous (normal)
|
``AsyncClient`` has the same methods and signatures as the synchronous (normal)
|
||||||
test client, with two exceptions:
|
test client, with the following exceptions:
|
||||||
|
|
||||||
* In the initialization, arbitrary keyword arguments in ``defaults`` are added
|
* In the initialization, arbitrary keyword arguments in ``defaults`` are added
|
||||||
directly into the ASGI scope.
|
directly into the ASGI scope.
|
||||||
|
Loading…
Reference in New Issue
Block a user