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