          if method == 'DELETE' or method == 'OPTIONS':
              return True  # Don't actually need to return a form
  
          if not getattr(view, 'get_serializer', None):
              return self.get_generic_content_form(view)
  
          #####
          # TODO: This is a little bit of a hack.  Actually we'd like to remove
          #       this and just render serializer fields to html directly.
  
 
</s> remove         if self.view.response.status_code == 204:
            self.view.response.status_code = 200
 </s> add         if response.status_code == 204:
            response.status_code = 200 </s> remove         Returns a form that allows for arbitrary content types to be tunneled via standard HTML forms
 </s> add         Returns a form that allows for arbitrary content types to be tunneled
        via standard HTML forms. </s> remove         # If the media type looks like 'application/json; indent=4', then
        # pretty print the result.
        indent = get_media_type_params(accepted_media_type).get('indent', None)
        sort_keys = False
        try:
            indent = max(min(int(indent), 8), 0)
            sort_keys = True
        except (ValueError, TypeError):
            indent = None
 </s> add         # If 'indent' is provided in the context, then pretty print the result.
        # E.g. If we're being called by the BrowseableAPIRenderer.
        renderer_context = renderer_context or {}
        indent = renderer_context.get('indent', None)
        sort_keys = indent and True or False

        if accepted_media_type:
            # If the media type looks like 'application/json; indent=4',
            # then pretty print the result.
            params = get_media_type_params(accepted_media_type)
            indent = params.get('indent', indent)
            try:
                indent = max(min(int(indent), 8), 0)
                sort_keys = True
            except (ValueError, TypeError):
                indent = None
            media_types = [parser.media_type for parser in view.parser_classes]
            return self.get_generic_content_form(media_types)
          if method == 'DELETE' or method == 'OPTIONS':
              return True  # Don't actually need to return a form
  
          if not getattr(view, 'get_serializer', None):
            media_types = [parser.media_type for parser in view.parser_classes]
            return self.get_generic_content_form(media_types)
  
          #####
          # TODO: This is a little bit of a hack.  Actually we'd like to remove
          #       this and just render serializer fields to html directly.
  
keep keep keep keep replace keep keep keep keep keep
 Make sure JSON output in Browseable API is nicely indented 
rest_framework/renderers.py