Django M2M relationships: Use just one intermediary table or one per entity pair?
问题 When creating many to many relationships we use an intermediary table. Lets say I use the following entities video , category , tag , and VideoCategory , VideoTag to create the relations. I'm assuming that many tags/categories can have many videos and vice-versa. And I do it with through keyword 'cause I want to be able to use extra fields in the future if I want. class Category(models.Model): category = models.CharField(max_length=50) def __str__(self): return self.category class Tag(models