Re: Many to Many - struggling with the syntax.

2007-04-19 Thread MerMer
Many thanks Malcolm. That nailed it. So simple when you know how! MerMer On Apr 19, 2:56 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Wed, 2007-04-18 at 23:28 +0100, Merric Mercer wrote: > > I'm have the following three Models. > > > 1.Category Model > > > 2. Promotion Model > >

Re: Many to Many - struggling with the syntax.

2007-04-18 Thread Malcolm Tredinnick
On Wed, 2007-04-18 at 23:28 +0100, Merric Mercer wrote: > I'm have the following three Models. > > 1.Category Model > > 2. Promotion Model > - Has a many to many relationship with Category. > - Is the Parent of the Cash Model. > > 3.Cash Model > - Has one to one relationship with

Many to Many - struggling with the syntax.

2007-04-18 Thread Merric Mercer
I'm have the following three Models. 1.Category Model 2. Promotion Model - Has a many to many relationship with Category. - Is the Parent of the Cash Model. 3.Cash Model - Has one to one relationship with Promotion. I want to create a query set of Cash Objects, filtered by a