django get select fields code example Example: django only certain columns from database Entry.objects.values_list('id', 'headline')