Hi friends!

I mean do something like this:

SELECT * FROM table WHERE tags LIKE '%candy%' AND  tags LIKE '%milk%'



I've tried:

table.objects.filter(tags__icontains='candy', tags__icontains='milk')

I've tried too:

list = ['candy', 'milk']
table.objects.filter(tags__icontains=list

And nothing work. Help me please :s

Thanks bros!

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to