I'm looking for the place in Django REST Framework to hook in when wanting to format the result of a query in a specific way.
That is, I want to take all the rows returned by a query and create a very specific type of JSON response with some meta data and a different (nested) structure.
It seems that serializers take care of one row at a time. Are custom views the right place for this?