  
  class RendererB(BaseRenderer):
      media_type = 'mock/rendererb'
  
      def render(self, obj=None, content_type=None):
          return RENDERER_B_SERIALIZER(obj)
  
  
  urlpatterns = patterns('',
      url(r'^$', MockView.as_view(renderers=[RendererA, RendererB])),
 
</s> remove     def render(self, obj=None, content_type=None):
 </s> add     def render(self, obj=None, media_type=None): </s> remove class MockView(ResponseMixin, DjangoView):
    def get(self, request):
        response = Response(DUMMYSTATUS, DUMMYCONTENT)
        return self.render(response)

 </s> add  </s> remove         context = RequestContext(self.request, obj)
        return self.template.render(context)
 </s> add         template = loader.get_template(self.template)
        context = RequestContext(self.view.request, {'object': obj})
        return template.render(context)
    def render(self, obj=None, media_type=None):
  
  class RendererB(BaseRenderer):
      media_type = 'mock/rendererb'
  
    def render(self, obj=None, media_type=None):
          return RENDERER_B_SERIALIZER(obj)
  
  
  urlpatterns = patterns('',
      url(r'^$', MockView.as_view(renderers=[RendererA, RendererB])),
keep keep keep keep replace keep keep keep keep keep
 Renderers can now cope with parameterised args.  ResponseMixin gets cleaned up & added Renderer.can_handle_response(), mirroring Parsers.can_handle_request() 
djangorestframework/tests/renderers.py