  """
  Provides an APIView class that is the base of all views in REST framework.
  """
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.core.exceptions import PermissionDenied
  from django.db import connection, models, transaction
  from django.http import Http404
  from django.http.response import HttpResponseBase
 
</s> remove from __future__ import unicode_literals

 </s> add  </s> remove from __future__ import unicode_literals

 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove from __future__ import unicode_literals

 </s> add 
  """
  Provides an APIView class that is the base of all views in REST framework.
  """


  from django.conf import settings
  from django.core.exceptions import PermissionDenied
  from django.db import connection, models, transaction
  from django.http import Http404
  from django.http.response import HttpResponseBase
keep keep keep replace 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/views.py