  import functools
  import inspect
  import re
  import uuid
  from collections import OrderedDict
  from collections.abc import Mapping
  
  from django.conf import settings
  from django.core.exceptions import ObjectDoesNotExist
  from django.core.exceptions import ValidationError as DjangoValidationError
 
</s> remove from collections import OrderedDict, defaultdict
 </s> add from collections import defaultdict </s> remove from collections import OrderedDict
 </s> add  </s> remove from collections import OrderedDict
 </s> add  </s> remove from collections import OrderedDict
 </s> add  </s> remove from collections import OrderedDict
 </s> add 
  import functools
  import inspect
  import re
  import uuid

  from collections.abc import Mapping
  
  from django.conf import settings
  from django.core.exceptions import ObjectDoesNotExist
  from django.core.exceptions import ValidationError as DjangoValidationError
keep keep keep keep replace keep keep keep keep keep
 Replaced `OrderedDict` with `dict` (#8964) 
rest_framework/fields.py