          msg = "Could not import '%s' for API setting '%s'. %s: %s." % (val, setting_name, e.__class__.__name__, e)
          raise ImportError(msg)
  
  
  class APISettings(object):
      """
      A settings object, that allows API settings to be accessed as properties.
      For example:
  
          from rest_framework.settings import api_settings
 
</s> remove from __future__ import unicode_literals

 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove class BoundField(object):
 </s> add class BoundField: </s> remove class EndpointEnumerator(object):
 </s> add class EndpointEnumerator: </s> remove from django.utils import six
 </s> add 
class APISettings:
          msg = "Could not import '%s' for API setting '%s'. %s: %s." % (val, setting_name, e.__class__.__name__, e)
          raise ImportError(msg)
  
  
class APISettings:
      """
      A settings object, that allows API settings to be accessed as properties.
      For example:
  
          from rest_framework.settings import api_settings
keep keep keep keep replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
rest_framework/settings.py