Re: Q()s, m2ms and failing queries

2007-01-24 Thread Michael Radziej
Felix Ingram: > Quick reply to myself in case someone is looking through the archives. > This seems to be covered in ticket 1801: > http://code.djangoproject.com/ticket/1801 > > It's noted as a 'hard bug'. I heard you and have put the ticket into "Accepted". If anybody has a solution or can prod

Re: Q()s, m2ms and failing queries

2007-01-24 Thread Felix Ingram
Quick reply to myself in case someone is looking through the archives. This seems to be covered in ticket 1801: http://code.djangoproject.com/ticket/1801 It's noted as a 'hard bug'. On 16/01/07, Felix Ingram <[EMAIL PROTECTED]> wrote: > Hello all, > > I've run into a problem when trying to add s

Q()s, m2ms and failing queries

2007-01-16 Thread Felix Ingram
Hello all, I've run into a problem when trying to add some simple search functionality to my app. I've got a model with several M2Ms and I'm trying to construct some OR queries using Q(). Here's a simplified example: Model: class Article(models.Model): authors = models.ManyToManyField(User