Răsfoiți Sursa

Fixed #32310 -- Fixed note about reverse accessors for intermediate table for self-referential ManyToManyField.

Fabio Sangiovanni 4 ani în urmă
părinte
comite
2d6c9b97bc
1 a modificat fișierele cu 3 adăugiri și 5 ștergeri
  1. 3 5
      docs/ref/models/fields.txt

+ 3 - 5
docs/ref/models/fields.txt

@@ -1866,11 +1866,9 @@ that control how the relationship functions.
 
     .. note::
 
-        Recursive relationships using an intermediary model and defined as
-        symmetrical (that is, with :attr:`symmetrical=True
-        <ManyToManyField.symmetrical>`, which is the default) can't determine
-        the reverse accessors names, as they would be the same. You need to set
-        a :attr:`~ForeignKey.related_name` to at least one of them. If you'd
+        Recursive relationships using an intermediary model can't determine the
+        reverse accessors names, as they would be the same. You need to set a
+        :attr:`~ForeignKey.related_name` to at least one of them. If you'd
         prefer Django not to create a backwards relation, set ``related_name``
         to ``'+'``.