Re: Unexpected query behavior

2010-07-09 Thread Skylar Saveland
http://docs.djangoproject.com/en/1.2/topics/db/queries/#spanning-multi-valued-relationships On Jul 10, 12:33 am, Skylar Saveland wrote: > If I chain my .filter()s > > Collection.objects.filter(collection_revisions__articles=article).filter(co > llection_revisions__char_fi="p") > > collection_rev

Re: Unexpected query behavior

2010-07-09 Thread Skylar Saveland
the second query should read: Collection.objects.filter(collection_revisions__articles=article, collection_revisions__revision_tag="p") -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegrou