1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fixed #31303 -- Removed outdated note about symmetrical intermediate table for self-referential ManyToManyField.

Follow up to 87b1ad6e73.
This commit is contained in:
Matheus Cunha Motta 2020-02-23 19:15:48 -03:00 committed by Mariusz Felisiak
parent a6b3938afc
commit 0352a44dd6

View File

@ -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