# Get blogs entries with id 1, 4 or 7
>>> Blog.objects.filter(pk__in=[1,4,7])
# Get all blog entries with id > 14
>>> Blog.objects.filter(pk__gt=14)
from .models import Article
articles = Article.objects.all()
# This will return a queryset type
print(type(articles))
# Convert articles queryset to a python's list type
articles_list = list(articles)
# This will return a list type
print(type(articles_list))
# convert django queryset to list
answers_list = list(answers)
answers_list = list(answers)
Books.objects.filter(pk__in=a)