From 2d6c9b97bc706aab1975f57e814461e90e389bb0 Mon Sep 17 00:00:00 2001 From: Fabio Sangiovanni Date: Mon, 4 Jan 2021 18:36:35 +0100 Subject: [PATCH] Fixed #32310 -- Fixed note about reverse accessors for intermediate table for self-referential ManyToManyField. --- docs/ref/models/fields.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 605b8bd979..f9291d72d5 100644 --- a/docs/ref/models/fields.txt +++ b/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 - `, 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 ``'+'``.