When using ViewSets you can do self.action and get to know whether you are currently handling a GET or POST and such. How do you do the same with generic views like ListCreateAPIView?
I want to return a different serializer context in get_serializer_context depending on the current HTTP method being called. How do I go about this?