      import coreschema
      properties = OrderedDict([
          (field.name, field.schema or coreschema.String())
          for field in link.fields
      ])
      required = [
          field.name
          for field in link.fields
          if field.required
      ]
 
</s> remove     properties = OrderedDict([
        (field.name, field.schema or coreschema.String())
 </s> add     properties = {
        field.name: field.schema or coreschema.String() </s> remove         defaults = OrderedDict()
 </s> add         defaults = {} </s> remove             ])
 </s> add             } </s> remove     fields = OrderedDict()
 </s> add     fields = {} </s> remove         return OrderedDict([
            (field_name, self.get_field_info(field))
 </s> add         return {
            field_name: self.get_field_info(field)
    }
      import coreschema
      properties = OrderedDict([
          (field.name, field.schema or coreschema.String())
          for field in link.fields
    }
      required = [
          field.name
          for field in link.fields
          if field.required
      ]
keep keep keep keep replace keep keep keep keep keep
 Replaced `OrderedDict` with `dict` (#8964) 
rest_framework/templatetags/rest_framework.py