          raw_data_put_form = self.get_raw_data_form(data, view, 'PUT', request)
          raw_data_patch_form = self.get_raw_data_form(data, view, 'PATCH', request)
          raw_data_put_or_patch_form = raw_data_put_form or raw_data_patch_form
  
          response_headers = OrderedDict(sorted(response.items()))
          renderer_content_type = ''
          if renderer:
              renderer_content_type = '%s' % renderer.media_type
              if renderer.charset:
                  renderer_content_type += ' ;%s' % renderer.charset
 
</s> remove         new_links = OrderedDict()
 </s> add         new_links = {} </s> remove     properties = OrderedDict([
        (field.name, field.schema or coreschema.String())
 </s> add     properties = {
        field.name: field.schema or coreschema.String() </s> remove     ret = OrderedDict()
 </s> add     ret = {} </s> remove     ])
 </s> add     } </s> remove         ret = OrderedDict()
 </s> add         ret = {}
        response_headers = dict(sorted(response.items()))
          raw_data_put_form = self.get_raw_data_form(data, view, 'PUT', request)
          raw_data_patch_form = self.get_raw_data_form(data, view, 'PATCH', request)
          raw_data_put_or_patch_form = raw_data_put_form or raw_data_patch_form
  
        response_headers = dict(sorted(response.items()))
          renderer_content_type = ''
          if renderer:
              renderer_content_type = '%s' % renderer.media_type
              if renderer.charset:
                  renderer_content_type += ' ;%s' % renderer.charset
keep keep keep keep replace keep keep keep keep keep
 Replaced `OrderedDict` with `dict` (#8964) 
rest_framework/renderers.py