thanks, that's what I ended up using. On Mar 30, 11:58 am, Jason Culverhouse <ja...@mischievous.org> wrote:
> You could use values_list and flat as in: > > User.objects.filter(username__in =['jason', 'was', > 'here']).values_list('username', flat=True) > > returns a list: > > [u'jason', u'was'] > > After that you can figure out the best way to perform the lookup. > -- 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.