目标是实现:
我想要名称属性包含列表中任何单词的所有对象.
我有:
list = ['word1','word2','word3']
ob_list = data.objects.filter( // What to write here ? )
// or any other way to get the objects where any word in list is contained, in
// the na-me attribute of data.
例如:
if name="this is word2":
则应该返回具有这样的名称的对象,因为Word2在列表中.
请帮帮我!