Hey, thanks. EXACTLY what I needed.
On Mar 10, 3:03 pm, Daniel Roseman wrote:
> On Mar 10, 10:38 pm, Laereom wrote:
>
>
>
>
>
> > I have two models, we'll call them 'Question' and 'Search'.
>
> > Search has a many to many field called 'questions' which contain,
> > naturally, a set of questions
On Mar 10, 10:38 pm, Laereom wrote:
> I have two models, we'll call them 'Question' and 'Search'.
>
> Search has a many to many field called 'questions' which contain,
> naturally, a set of questions.
>
> I want to retrieve a Question which is associated with a particular
> Search through that man
try search__questions.id
the __ spans the many to many relationship
On Mar 10, 4:38 pm, Laereom wrote:
> I have two models, we'll call them 'Question' and 'Search'.
>
> Search has a many to many field called 'questions' which contain,
> naturally, a set of questions.
>
> I want to retrieve a Que
I have two models, we'll call them 'Question' and 'Search'.
Search has a many to many field called 'questions' which contain,
naturally, a set of questions.
I want to retrieve a Question which is associated with a particular
Search through that many to many field.
It seemed straightforward -- I
4 matches
Mail list logo