summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Bistuer <loic.bistuer@sixmedia.com>2013-11-23 01:29:09 +0700
committerLoic Bistuer <loic.bistuer@sixmedia.com>2013-11-23 01:29:09 +0700
commit82a58ce5b67e0b79fa0efbad72e21d9d1be25ceb (patch)
tree5d703527f354ad019d707816243b2a880fdc1908
parentb9d908da54169472fad090e61538c362d92098d4 (diff)
Fixed #21491 -- Removed documented workaround for a known issue.
The issue was that two M2M hidden reverse managers (related_name ending with a '+') could clash with each other. Refs #21375 and #15932. Thanks Baptiste.
-rw-r--r--docs/ref/models/fields.txt7
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index f2ae9dfb7e..75f87d4d71 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -1230,13 +1230,6 @@ that control how the relationship functions.
Same as :attr:`ForeignKey.related_name`.
- If you have more than one ``ManyToManyField`` pointing to the same model
- and want to suppress the backwards relations, set each ``related_name``
- to a unique value ending with ``'+'``::
-
- users = models.ManyToManyField(User, related_name='u+')
- referents = models.ManyToManyField(User, related_name='ref+')
-
.. attribute:: ForeignKey.related_query_name
.. versionadded:: 1.6