16👍
✅
I think this is what you’re looking for:
dependencies = models.ManyToManyField("self", symmetrical=False)
See the docs for symmetrical.
Source:stackexchange.com
16👍
I think this is what you’re looking for:
dependencies = models.ManyToManyField("self", symmetrical=False)
See the docs for symmetrical.