I thought you were trying to get:

I'm expecting only the four distinct records.

You'll get a ValuesQuerySet or list of dictionaries with redundant keys this
way.

Thanks,
Subhranath Chunder.

On Wed, Jul 21, 2010 at 11:40 PM, rmschne <[email protected]> wrote:

> Member.objects.values('status').order_by('status').distinct()  from
> jaymzcd works perfectly. Thanks!
>
> --
> 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]<django-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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