queryset list of pk django code example Example: django filter values with OR operator Blog.objects.filter(pk__in=[1, 4, 7])