  class RendererB(BaseRenderer):
      media_type = 'mock/rendererb'
      format = "formatb"
  
      def render(self, obj=None, media_type=None):
          return RENDERER_B_SERIALIZER(obj)
  
  
  class MockView(APIView):
      renderer_classes = (RendererA, RendererB)
  
 
</s> remove     def render(self, obj=None, media_type=None):
        return RENDERER_B_SERIALIZER(obj)
 </s> add     def render(self, data, media_type=None, renderer_context=None):
        return RENDERER_B_SERIALIZER(data) </s> remove     def render(self, obj=None, media_type=None):
        return RENDERER_A_SERIALIZER(obj)
 </s> add     def render(self, data, media_type=None, renderer_context=None):
        return RENDERER_A_SERIALIZER(data) </s> remove     def render(self, obj=None, media_type=None):
        return RENDERER_A_SERIALIZER(obj)
 </s> add     def render(self, data, media_type=None, renderer_context=None):
        return RENDERER_A_SERIALIZER(data) </s> remove     def __init__(self, view=None):
        self.view = view

    def render(self, data=None, accepted_media_type=None):
 </s> add     def render(self, data, accepted_media_type=None, renderer_context=None): </s> remove     def render(self, data=None, accepted_media_type=None):
 </s> add     def render(self, data, accepted_media_type=None, renderer_context=None):
    def render(self, data, media_type=None, renderer_context=None):
        return RENDERER_B_SERIALIZER(data)
  class RendererB(BaseRenderer):
      media_type = 'mock/rendererb'
      format = "formatb"
  
    def render(self, data, media_type=None, renderer_context=None):
        return RENDERER_B_SERIALIZER(data)
    def render(self, data, media_type=None, renderer_context=None):
        return RENDERER_B_SERIALIZER(data)
  
  
  class MockView(APIView):
      renderer_classes = (RendererA, RendererB)
  
keep keep keep keep replace replace keep keep keep keep keep
 Make sure JSON output in Browseable API is nicely indented 
rest_framework/tests/renderers.py