diff options
| author | Collin Anderson <cmawebsite@gmail.com> | 2017-03-20 20:26:23 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-01-15 11:12:17 -0500 |
| commit | 769355c76531749d0bc0abad279402e361eaec4e (patch) | |
| tree | 2f9600d8779a41ebb44abde07485cea472227018 /docs/releases | |
| parent | f021c110d02fd7ca32ae56f511b46e5d138b6c73 (diff) | |
Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a through model.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/2.2.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index 5d1333ad95..d3c8e9abcc 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -256,6 +256,13 @@ Models specified on initialization to ensure that the aggregate function is only called for each distinct value of ``expressions``. +* The :meth:`.RelatedManager.add`, :meth:`~.RelatedManager.create`, + :meth:`~.RelatedManager.remove`, :meth:`~.RelatedManager.set`, + ``get_or_create()``, and ``update_or_create()`` methods are now allowed on + many-to-many relationships with intermediate models. The new + ``through_defaults`` argument is used to specify values for new intermediate + model instance(s). + Requests and Responses ~~~~~~~~~~~~~~~~~~~~~~ |
