mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #31046 -- Allowed RelatedManager.add()/create()/set() to accept callable values in through_defaults.
This commit is contained in:
parent
c50839fccf
commit
26cab4e8c1
4 changed files with 71 additions and 4 deletions
|
@ -209,6 +209,10 @@ Models
|
|||
|
||||
* :attr:`.CheckConstraint.check` now supports boolean expressions.
|
||||
|
||||
* The :meth:`.RelatedManager.add`, :meth:`~.RelatedManager.create`, and
|
||||
:meth:`~.RelatedManager.set` methods now accept callables as values in the
|
||||
``through_defaults`` argument.
|
||||
|
||||
Pagination
|
||||
~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue