  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>
    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/response.py