mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #34135 -- Added async-compatible interface to related managers.
This commit is contained in:
committed by
Mariusz Felisiak
parent
41e8931c2c
commit
321ecb40f4
@@ -243,6 +243,11 @@ Models
|
||||
database, using an ``a`` prefix: :meth:`~.Model.adelete`,
|
||||
:meth:`~.Model.arefresh_from_db`, and :meth:`~.Model.asave`.
|
||||
|
||||
* Related managers now provide asynchronous versions of methods that change a
|
||||
set of related objects, using an ``a`` prefix: :meth:`~.RelatedManager.aadd`,
|
||||
:meth:`~.RelatedManager.aclear`, :meth:`~.RelatedManager.aremove`, and
|
||||
:meth:`~.RelatedManager.aset`.
|
||||
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user