[2.0.x] Fixed #28514 -- Clarifed docs about idempotence of RelatedManager.add().

Backport of abe6c5defe from master
This commit is contained in:
Jezeniel Zapanta 2017-10-31 05:08:15 +08:00 committed by Tim Graham
parent 0cae6069dc
commit 83362cb94a
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)