Django 使用contained_by查询列表中包含任何项目的所有模型

示例

该查询返回带有薄荷勺或香草勺的所有圆锥体。

minty_vanilla_cones = IceCream.objects.filter(scoops__contained_by=[MINT, VANILLA])