On Aug 3, 7:03 am, Subramanyam Vemu <balu.v...@gmail.com> wrote: > Hi Malcom > > The values_list() returns a list of tuples whereas I am looking for a simple > list of the values > >From the link Malcolm so helpfully provided:
"If you only pass in a single field, you can also pass in the `flat` parameter. If True, this will mean the returned results are single values, rather than one-tuples." In other words, that's exactly what you want. -- DR. --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---