                       if not issubclass(renderer, BrowsableAPIRenderer)]
          if not renderers:
              return '[No renderers were found]'
  
          renderer_context['indent'] = 4
          content = renderer.render(data, accepted_media_type, renderer_context)
  
          if not all(char in string.printable for char in content):
 
</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)
 </s> remove 
        # Find the first valid renderer and render the content. (Don't use another documenting renderer.)
 </s> add  </s> remove         Get the content as if it had been rendered by a non-documenting renderer.

        (Typically this will be the content as it would have been if the Resource had been
        requested with an 'Accept: */*' header, although with verbose style formatting if appropriate.)
 </s> add         Return an instance of the first valid renderer.
        (Don't use another documenting renderer.) </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
            return None
        return renderers[0]()

    def get_content(self, renderer, data,
                    accepted_media_type, renderer_context):
        """
        Get the content as if it had been rendered by the default
        non-documenting renderer.
        """
        if not renderer:
                       if not issubclass(renderer, BrowsableAPIRenderer)]
          if not renderers:
            return None
        return renderers[0]()

    def get_content(self, renderer, data,
                    accepted_media_type, renderer_context):
        """
        Get the content as if it had been rendered by the default
        non-documenting renderer.
        """
        if not renderer:
              return '[No renderers were found]'
  
          renderer_context['indent'] = 4
          content = renderer.render(data, accepted_media_type, renderer_context)
  
          if not all(char in string.printable for char in content):
keep add keep keep keep keep keep keep
 Make sure JSON output in Browseable API is nicely indented 
rest_framework/renderers.py