djnago models.objects.filter only one column code example Example: django filter values with OR operator Blog.objects.filter(pk__in=[1, 4, 7])