get columns of a queryset object sjango code example Example: django only certain columns from database Entry.objects.values_list('id', 'headline')