Re: exclude issue with M2M Field

2008-02-12 Thread Albert Hopkins
On Tue, 2008-02-12 at 13:55 -0600, James Bennett wrote: > On Feb 12, 2008 1:46 PM, Albert Hopkins <[EMAIL PROTECTED]> wrote: > > It seems that 'exclude'ing on a M2M field does not have the effect I > > anticipated. Am I doing something wrong? Basically I have the > > following models > > The r

Re: exclude issue with M2M Field

2008-02-12 Thread James Bennett
On Feb 12, 2008 1:46 PM, Albert Hopkins <[EMAIL PROTECTED]> wrote: > It seems that 'exclude'ing on a M2M field does not have the effect I > anticipated. Am I doing something wrong? Basically I have the > following models The real problem is that the SQL necessary to do an exclude() and have it

exclude issue with M2M Field

2008-02-12 Thread Albert Hopkins
It seems that 'exclude'ing on a M2M field does not have the effect I anticipated. Am I doing something wrong? Basically I have the following models == class Platform(models.Model): name = models.Charfield(..., unique=True) class Release(models.Model): ... platforms = models