  
              response.accepted_renderer = request.accepted_renderer
              response.accepted_media_type = request.accepted_media_type
  
          for key, value in self.headers.items():
              response[key] = value
  
          return response
 
</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         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         accepted_media_type = add_media_type_param(accepted_media_type, 'indent', '4')
        content = renderers[0](view).render(data, accepted_media_type)
 </s> add         renderer_context['indent'] = 4
        content = renderer.render(data, accepted_media_type, renderer_context)

            response.renderer_context = self.get_renderer_context()
  
              response.accepted_renderer = request.accepted_renderer
              response.accepted_media_type = request.accepted_media_type
            response.renderer_context = self.get_renderer_context()
  
          for key, value in self.headers.items():
              response[key] = value
  
          return response
keep keep add keep keep keep keep keep
 Make sure JSON output in Browseable API is nicely indented 
rest_framework/views.py