summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorFabio Sangiovanni <sjh+github@sanjioh.org>2021-01-04 18:36:35 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-04 22:21:17 +0100
commit6d3a623f713cbe0c64235458f44a1fe3a74108f8 (patch)
treee83ce4a30a822010831d1508b2e400af3e706c61 /docs/ref/models
parente080bf49a0a624da331cae06f5223fa4146d67fc (diff)
[3.1.x] Fixed #32310 -- Fixed note about reverse accessors for intermediate table for self-referential ManyToManyField.
Backport of 2d6c9b97bc706aab1975f57e814461e90e389bb0 from master
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/fields.txt8
1 files 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
- <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 ``'+'``.