From 6d3a623f713cbe0c64235458f44a1fe3a74108f8 Mon Sep 17 00:00:00 2001 From: Fabio Sangiovanni Date: Mon, 4 Jan 2021 18:36:35 +0100 Subject: [PATCH] [3.1.x] Fixed #32310 -- Fixed note about reverse accessors for intermediate table for self-referential ManyToManyField. Backport of 2d6c9b97bc706aab1975f57e814461e90e389bb0 from master --- 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 538ee89047..f20e92772b 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -1846,11 +1846,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 ``'+'``.