  from django.utils import six
  from django.conf import settings
  from django.db import connection, transaction
  from django.utils.encoding import force_text
  from django.utils.six.moves.urllib.parse import urlparse as _urlparse
  
  try:
      import importlib
 
</s> remove from django.utils import six
import django
import inspect
 </s> add  </s> remove from django.core.exceptions import ImproperlyConfigured
 </s> add import inspect

import django
from django.utils import six </s> remove import binascii
 </s> add 
from django.core.exceptions import ImproperlyConfigured
  from django.utils import six
  from django.conf import settings
  from django.db import connection, transaction
  from django.utils.encoding import force_text
from django.core.exceptions import ImproperlyConfigured
  from django.utils.six.moves.urllib.parse import urlparse as _urlparse
  
  try:
      import importlib
keep keep keep add keep keep keep keep
 Cleanup import following PEP 8 style guide 
rest_framework/compat.py