class ManyToManyField(othermodel, **options)
[source]
A many-to-many relationship. Requires a positional argument: the class to which the model is related, which works exactly the same as it does for ForeignKey
, including recursive and lazy relationships.
Related objects can be added, removed, or created with the field’s RelatedManager
.
Please login to continue.