      def render(self, obj=None, media_type=None):
          if obj is None:
              return ''
  
          context = RequestContext(self.request, obj)
          return self.template.render(context)
  
  
  class DocumentingTemplateRenderer(BaseRenderer):
      """
      Base class for renderers used to self-document the API.
 
</s>
        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):
          if obj is None:
              return ''
  
        template = loader.get_template(self.template)
        context = RequestContext(self.view.request, {'object': obj})
        return template.render(context)
        template = loader.get_template(self.template)
        context = RequestContext(self.view.request, {'object': obj})
        return template.render(context)
  
  
  class DocumentingTemplateRenderer(BaseRenderer):
      """
      Base class for renderers used to self-document the API.
keep keep keep keep replace 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/renderers.py