          1. An explicit .template_name set on the response.
          2. An explicit .template_name set on this class.
          3. The return result of calling view.get_template_names().
          """
          view = self.view
          request, response = view.request, view.response
  
          template_names = self.get_template_names(response, view)
          template = self.resolve_template(template_names)
          context = self.resolve_context(data, request)
          return template.render(context)
 
</s> remove         view = self.view
        request = view.request
        response = view.response
 </s> add         accepted_media_type = accepted_media_type or ''
        renderer_context = renderer_context or {} </s> remove         content = self.get_content(view, request, data, accepted_media_type)
 </s> add         view = renderer_context['view']
        request = renderer_context['request']
        response = renderer_context['response']

        renderer = self.get_default_renderer(view)
        content = self.get_content(renderer, data, accepted_media_type, renderer_context) </s> remove     def render(self, data=None, accepted_media_type=None):
 </s> add     def render(self, data, accepted_media_type=None, renderer_context=None): </s> remove             return self.view.__doc__
 </s> add             return view.__doc__ </s> remove         assert renderer, "No accepted renderer set on Response"
        assert media_type, "No accepted media type set on Response"
 </s> add         assert renderer, ".accepted_renderer not set on Response"
        assert media_type, ".accepted_media_type not set on Response"
        assert context, ".renderer_context not set on Response"
        context['response'] = self
        renderer_context = renderer_context or {}
        view = renderer_context['view']
        request = renderer_context['request']
        response = renderer_context['response']
          1. An explicit .template_name set on the response.
          2. An explicit .template_name set on this class.
          3. The return result of calling view.get_template_names().
          """
        renderer_context = renderer_context or {}
        view = renderer_context['view']
        request = renderer_context['request']
        response = renderer_context['response']
        renderer_context = renderer_context or {}
        view = renderer_context['view']
        request = renderer_context['request']
        response = renderer_context['response']
  
          template_names = self.get_template_names(response, view)
          template = self.resolve_template(template_names)
          context = self.resolve_context(data, request)
          return template.render(context)
keep keep keep keep replace replace keep keep keep keep keep
 Make sure JSON output in Browseable API is nicely indented 
rest_framework/renderers.py