浏览代码

Merge pull request #1965 from loic/ticket21491

Fixed #21491 -- Removed documented workaround for a known issue.
Claude Paroz 11 年之前
父节点
当前提交
47afe07324
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      docs/ref/models/fields.txt

+ 0 - 7
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