[Django]-Intersection of two querysets in django

3👍

qs = Item.objects.filter(color__in=['blue','white'])

1👍

Item.objects.filter(color="blue").filter(color="white")

Leave a comment