Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a through model.

This commit is contained in:
Collin Anderson 2017-03-20 20:26:23 -04:00 committed by Tim Graham
parent f021c110d0
commit 769355c765
8 changed files with 146 additions and 195 deletions

View file

@ -34,10 +34,7 @@ objects, and a ``Publication`` has multiple ``Article`` objects:
return self.headline
What follows are examples of operations that can be performed using the Python
API facilities. Note that if you are using :ref:`an intermediate model
<intermediary-manytomany>` for a many-to-many relationship, some of the related
manager's methods are disabled, so some of these examples won't work with such
models.
API facilities.
Create a few ``Publications``::