Re: Chaining ManyToMany Filters Update

2007-03-12 Thread Boris Smus
On Mar 12, 6:56 am, Tim Chase <[EMAIL PROTECTED]> wrote:> > cs.filter( > Q(default_recipe__ingredients__ingredient__id=3) | > Q(default_recipe__ingredients__ingredient__id=1) > ) Just to clarify, I was trying to get AND functionality, as Konstantin suggested. I also tried

Chaining ManyToMany Filters Update

2007-03-11 Thread Boris Smus
Dear Djangoites, I ran into problems trying to chain multiple filters on a QuerySet with models in a many-to-many relationship. Based on the word from irc, and from perusal of the mailing list, it seems that this is a known issue. But the last ML post on it (that I could find) dates back to 2006-