I have a query in Django with returns a queryset.
c1=Contact.objects.filter(hostid__tablename=s)
where "s" is a string holding a tablename.
What I want to do is have Django return a query set where "s" is not
just a string, but a Python list, e.g. ['01','03','54'].
How do i construct a query that would do this? I suspect it is not
the filter function, but can't spot something else that would work.
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].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.