I have a model XYZ(name,age,sex),
I am fetching all the fields using XYZ.objects.filter(name='ddd').values()
this is returning all the fields in dict. How to exclude the field age?
I have tried the following, but it not working
XYZ.objects.filter(name='').exclude('sex').values()