On Wed, 2008-04-23 at 23:23 -0700, [EMAIL PROTECTED] wrote:
> If you are getting the correct resultset, just with parents multiple
> times, add .distinct() to your queryset.

It sounded more like the case of a parent having children called Anna
and Bob. The parent was still being selected, since although the "Bob"
child was excluded, the "Anna" child wasn't. This isn't really the
intuitive result, since it doesn't exclude those parents who match the
filter condition.

Regards,
Malcolm

-- 
Tolkien is hobbit-forming. 
http://www.pointy-stick.com/blog/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to