Re: Make ManyToMany fields support "to_field".

2016-01-12 Thread Anssi Kääriäinen
On Tue, Jan 12, 2016 at 11:22 PM, Shai Berger wrote: > Personally, I'd like it better if add() could still be used with an explicit > through model, provided that instances of the through model could be created > using only the two FK values +1 - Anssi -- You received this message because you

Re: Make ManyToMany fields support "to_field".

2016-01-12 Thread Shai Berger
On Tuesday 12 January 2016 21:38:09 Luis Masuelli wrote: > Currently, if I want to create a ManyToMany relationship, I'm stuck with > two options: > > >- Accept the by-default configuration. This will imply the inner table >will have two fields based on the respective PKs. >- Create a

Make ManyToMany fields support "to_field".

2016-01-12 Thread Luis Masuelli
Currently, if I want to create a ManyToMany relationship, I'm stuck with two options: - Accept the by-default configuration. This will imply the inner table will have two fields based on the respective PKs. - Create a through-model. I will be able to specify two foreign keys, one f