Fixed #28514 -- Clarifed docs about idempotence of RelatedManager.add().

This commit is contained in:
Jezeniel Zapanta 2017-10-31 05:08:15 +08:00 committed by Tim Graham
parent 1834490a0c
commit abe6c5defe
3 changed files with 9 additions and 4 deletions

View file

@ -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)