Django M2M Through extra fields with multiple models
问题 I'm trying to figure out the best way to set up the following django model (genericised for security reasons). ThingA: User(M2M through "UserRelation") ThingB: User(M2M through "UserRelation") ThingC: User(M2M through "UserRelation") User: Login_name UserRelation: User (foreginkey) Thing (foreignkey) #is this generic to any of the above "things" Privilege I understand using "through" between two distinct models, but I'm not sure how to apply this to multiple models. Would I define a