mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #21343 -- Noted many-to-many restrictions with intermediate model.
Thanks EvilDMP for the report.
This commit is contained in:
@@ -138,10 +138,14 @@ Related objects reference
|
||||
.. note::
|
||||
|
||||
Note that ``add()``, ``create()``, ``remove()``, and ``clear()`` all
|
||||
apply database changes immediately for all types of related fields. In other
|
||||
words, there is no need to call ``save()`` on either end of the
|
||||
apply database changes immediately for all types of related fields. In
|
||||
other words, there is no need to call ``save()`` on either end of the
|
||||
relationship.
|
||||
|
||||
Also, 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.
|
||||
|
||||
.. _direct-assignment:
|
||||
|
||||
Direct Assignment
|
||||
|
||||
Reference in New Issue
Block a user