summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatheus Cunha Motta <sqrtomath@gmail.com>2020-02-23 19:15:48 -0300
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-02-24 08:55:24 +0100
commit0193a1630eca5c55721c04562f24c6f17464f901 (patch)
tree5fbf1e4dcad1e81b70b60c1566c3b038948f9db8
parent80e6639e22be464cc8b042450f505293a617967a (diff)
[3.0.x] Fixed #31303 -- Removed outdated note about symmetrical intermediate table for self-referential ManyToManyField.
Follow up to 87b1ad6e7351464c60e751b483d9dfce3a2d3382. Backport of 0352a44dd61c19bebf0c0b305dbbc3f710ff9945 from master
-rw-r--r--docs/topics/db/models.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt
index 75a46485ac..9fab17872e 100644
--- a/docs/topics/db/models.txt
+++ b/docs/topics/db/models.txt
@@ -499,11 +499,6 @@ There are a few restrictions on the intermediate model:
must also specify ``through_fields`` as above, or a validation error
will be raised.
-* When defining a many-to-many relationship from a model to
- itself, using an intermediary model, you *must* use
- :attr:`symmetrical=False <ManyToManyField.symmetrical>` (see
- :ref:`the model field reference <manytomany-arguments>`).
-
Now that you have set up your :class:`~django.db.models.ManyToManyField` to use
your intermediary model (``Membership``, in this case), you're ready to start
creating some many-to-many relationships. You do this by creating instances of