阅读背景:

Django:多对多,通过vs 2x一对多

来源:互联网 

Reading, the Django docs on many-to-many relationships when you need an extra field on the intermediary table, it's not clear to me what you gain by defining the relationship as many-to-many vs just having a foreign key to the intermediary model in each of your models.Reading, the Django docs on many-to-many relati




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: