Each reader has an id, name, and organization. There are 900 readers and about 190 organizations. I'm trying to return all of the organizations, but instead its returning every id in the table. So I'm seeing all of the table's entries instead of just a list of organizations.
On Jul 21, 10:47 pm, Kenneth Gonsalves <[email protected]> wrote: > On Thursday, July 22, 2010 09:10:31 am Nick wrote: > > > Readers = Readers.objects.values_list('organization').distinct() > > > The count returns 189 results but when I send it to output to a csv it > > returns all of the values, with duplicates which is something like 900 > > entries. > > by duplicates do you mean the whole row is duplicate or it is duplicate with > the exception of the id of the row? > -- > Regards > Kenneth Gonsalves > Senior Associate > NRC-FOSS at AU-KBC -- 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.

