Sample.objects.filter(*qObjects)

On Apr 6, 1:10 am, Daniel <unagimiy...@gmail.com> wrote:
> Hi, I think that this must be super easy, but I'm kind of stumped.
>
> I have a list qObjects = [qObject1, qObject2, qObject3]
> What I'd like is to form this query:  Sample.objects.filter(qObject1,
> qObject2, qObject3)
>
> How would I accomplish what I need?  Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.

Reply via email to