On Sun, 2006-08-13 at 17:14 -0700, [EMAIL PROTECTED] wrote: > I'm trying to get a queryset of all users in two particluar groups that > *aren't* in a third particular group.
This same conversation is going on in another thread at the moment, so let me explain the general case: any chained filter or exclude() commands that involve the same column in the table ('groups' in your case) are not going to work perfectly at the moment. Same goes for joining Q() instances involving identical columns. So try out what you hope might work, but check the SQL carefully before using it as an aircraft navigation system or floatation device. It's a bug. It's on the operating table. We expect the patient to make a full recovery in the near future. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---