how to filter a list of options in get_queryset django code example Example: django queryset filter queryset using list of items Blog.objects.filter(pk__in=[1, 4, 7])