      def rendered_content(self):
          renderer = self.accepted_renderer
          media_type = self.accepted_media_type
  
          assert renderer, "No accepted renderer set on Response"
          assert media_type, "No accepted media type set on Response"
  
          self['Content-Type'] = media_type
          if self.data is None:
              return renderer.render()
  
 
</s> remove         renderer = self.accepted_renderer
        media_type = self.accepted_media_type
 </s> add         renderer = getattr(self, 'accepted_renderer', None)
        media_type = getattr(self, 'accepted_media_type', None)
        context = getattr(self, 'renderer_context', None) </s> remove         if self.data is None:
            return renderer.render()

        return renderer.render(self.data, media_type)
 </s> add         return renderer.render(self.data, media_type, context) </s> remove         view = self.view
        request, response = view.request, view.response
 </s> add         renderer_context = renderer_context or {}
        view = renderer_context['view']
        request = renderer_context['request']
        response = renderer_context['response'] </s> remove             return self.view.__doc__
 </s> add             return view.__doc__ </s> remove     def render(self, data=None, accepted_media_type=None):
 </s> add     def render(self, data, accepted_media_type=None, renderer_context=None):
        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
      def rendered_content(self):
          renderer = self.accepted_renderer
          media_type = self.accepted_media_type
  
        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
        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
  
          self['Content-Type'] = media_type
          if self.data is None:
              return renderer.render()
  
keep keep keep keep replace replace keep keep keep keep keep
 Make sure JSON output in Browseable API is nicely indented 
rest_framework/response.py