  The `compat` module provides support for backwards compatibility with older
  versions of Django/Python, and compatibility wrappers around optional packages.
  """
  import sys
  from collections.abc import Mapping, MutableMapping  # noqa
  
  from django.conf import settings
  from django.core import validators
  from django.views.generic import View
  
 
</s> remove from rest_framework.compat import MutableMapping
 </s> add  </s> remove from rest_framework.compat import Mapping, postgres_fields
 </s> add from rest_framework.compat import postgres_fields
  The `compat` module provides support for backwards compatibility with older
  versions of Django/Python, and compatibility wrappers around optional packages.
  """
  import sys

  
  from django.conf import settings
  from django.core import validators
  from django.views.generic import View
  
keep keep keep keep replace keep 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/compat.py