django models fetch query code example
Example 1: django filter values with OR operator
Blog.objects.filter(pk__in=[1, 4, 7])
Example 2: .save() in django
>>> one_entry = Entry.objects.get(pk=1)
Blog.objects.filter(pk__in=[1, 4, 7])
>>> one_entry = Entry.objects.get(pk=1)