On Mon, Nov 9, 2009 at 01:11, Edward McCaughan <edwardmccaug...@gmail.com>wrote:

> where you're getting results where a property matches a value, could
> you have it try anything in a list of values, eg:
> ObjectOne.objects.filter(name=["toast","bread","shoes"])
>

http://docs.djangoproject.com/en/dev/ref/models/querysets/#in ?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to