mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #28514 -- Clarifed docs about idempotence of RelatedManager.add().
This commit is contained in:
parent
1834490a0c
commit
abe6c5defe
3 changed files with 9 additions and 4 deletions
|
@ -75,7 +75,7 @@ Create another ``Article``, and set it to appear in both ``Publications``::
|
|||
>>> a2.publications.add(p1, p2)
|
||||
>>> a2.publications.add(p3)
|
||||
|
||||
Adding a second time is OK::
|
||||
Adding a second time is OK, it will not duplicate the relation::
|
||||
|
||||
>>> a2.publications.add(p3)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue