df = pd.DataFrame(list(BlogPost.objects.all().values()))
df = pd.DataFrame(list(BlogPost.objects.filter(date__gte=datetime.datetime(
    2012, 5, 1)).values()))
Converting Django QuerySet to pandas DataFrame