Hi, folks!

I want to have a possibility to explicitly add renderer class to my 
response(Response)

Because when I have way for handling either CSV renderer for response CSV 
file if everything is ok or
return Response in JSON format with an error message.

I can't do it with renderer_classes = ... or content_negotiation_class = ...

And also I can't do it with perform_content_negotiation.

Because all of these ways starting before my business logic, for example in 
a list or create methods.


Thanks and Regards,
Mike

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to