  from django.test.client import encode_multipart
  from django.urls import NoReverseMatch
  from django.utils import six
  from django.utils.html import mark_safe
  from django.utils.six.moves.urllib import parse as urlparse
  
  from rest_framework import VERSION, exceptions, serializers, status
  from rest_framework.compat import (
      INDENT_SEPARATORS, LONG_SEPARATORS, SHORT_SEPARATORS, coreapi, coreschema,
      pygments_css, yaml
 
</s> remove from django.utils import six
 </s> add  </s> remove from django.utils.six.moves.urllib import parse as urlparse
 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove from django.utils.six.moves.urllib import parse as urlparse
 </s> add 
  from django.test.client import encode_multipart
  from django.urls import NoReverseMatch
  from django.utils import six
  from django.utils.html import mark_safe

  
  from rest_framework import VERSION, exceptions, serializers, status
  from rest_framework.compat import (
      INDENT_SEPARATORS, LONG_SEPARATORS, SHORT_SEPARATORS, coreapi, coreschema,
      pygments_css, yaml
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/renderers.py