I have a model Employees and I would like to have a QuerySet of all rows, but with some specific fields from each row, and not all fields.
Employees
I know how to quer
Employees.objects.values_list('eng_name', flat=True)
That creates a flat list of all eng_names. If you want more than one field per row, you can't do a flat list: this will create a list of tuples:
eng_name
Employees.objects.values_list('eng_name', 'rank')