  import re
  import uuid
  from collections import OrderedDict
  
  from django.conf import settings
  from django.core.exceptions import ObjectDoesNotExist
  from django.core.exceptions import ValidationError as DjangoValidationError
 
</s> remove from collections.abc import Mapping, MutableMapping  # noqa
 </s> add  </s> remove from rest_framework.compat import Mapping, postgres_fields
 </s> add from rest_framework.compat import postgres_fields
from collections.abc import Mapping
  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
keep keep add keep keep keep keep
 Remove unnecessary compatibility shims from rest_framework/compat.py (#6631)

For Python 3, collections.abc.Mapping and collections.abc.MutableMapping
are always available from the stdlib. 
rest_framework/fields.py