8000 [3.0.x] Fixed #31303 -- Removed outdated note about symmetrical inter… · django/django@0193a16 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0193a16

Browse files
matheuscunhamottafelixxm
authored andcommitted
[3.0.x] Fixed #31303 -- Removed outdated note about symmetrical intermediate table for self-referential ManyToManyField.
Follow up to 87b1ad6. Backport of 0352a44 from master
1 parent 80e6639 commit 0193a16

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

docs/topics/db/models.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -499,11 +499,6 @@ There are a few restrictions on the intermediate model:
499499
must also specify ``through_fields`` as above, or a validation error
500500
will be raised.
501501

502-
* When defining a many-to-many relationship from a model to
503-
itself, using an intermediary model, you *must* use
504-
:attr:`symmetrical=False <ManyToManyField.symmetrical>` (see
505-
:ref:`the model field reference <manytomany-arguments>`).
506-
507502
Now that you have set up your :class:`~django.db.models.ManyToManyField` to use
508503
your intermediary model (``Membership``, in this case), you're ready to start
509504
creating some many-to-many relationships. You do this by creating instances of

0 commit comments

Comments
 (0)
0