mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a through model.
This commit is contained in:
parent
f021c110d0
commit
769355c765
8 changed files with 146 additions and 195 deletions
|
@ -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``::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue