Re: 3 table many to many relationship

2014-04-26 Thread Malik Rumi
Merci beaucoup On Wed, Apr 23, 2014 at 10:43 PM, Simon Charette wrote: > Django allows you to explicitly specify an intermediary model for > many-to-many relationships with the > `through` > optio

Re: 3 table many to many relationship

2014-04-23 Thread Simon Charette
Django allows you to explicitly specify an intermediary model for many-to-many relationships with the `through` option. class A(models.Model): b_set = models.ManyToMany('B', related_name='a_

3 table many to many relationship

2014-04-23 Thread Malik Rumi
I was designing the models I will need for this project. I designed an intermediate table for two models, A and B, and then started to sketch out an intermediate table for two other models, A and C, when I realized that these two intermediate tables both use A, and further, the information in