human
django filter with list of values
assistant
Here is some code to create a django query for a list of values `1, 4, 7`

Blog.objects.filter(pk__in=[1, 4, 7])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.