django-rest-framework-csv icon indicating copy to clipboard operation
django-rest-framework-csv copied to clipboard

The fields in the CSV file are not the same as those defined in my serializer

Open awerner25 opened this issue 3 years ago • 0 comments

I want to use the CSVRenderer on a ModelViewSet. However, I don't want to display all the fields but only some of them.

Is there a way to choose the columns? I thought the CSVRenderer would use the fields field of my serializer but no.

awerner25 avatar Jan 13 '22 08:01 awerner25