  except ImportError:
      from django.utils import importlib  # Will be removed in Django 1.9
  
  
  def unicode_repr(instance):
      # Get the repr of an instance, but ensure it is a unicode string
      # on both python 3 (already the case) and 2 (not the case).
      if six.PY2:
          return repr(instance).decode('utf-8')
      return repr(instance)
 
</s> remove                 patterns=schema_urls
 </s> add                 url=self.schema_url,
                patterns=api_urls
try:
    import urlparse  # Python 2.x
except ImportError:
    import urllib.parse as urlparse


  except ImportError:
      from django.utils import importlib  # Will be removed in Django 1.9
  
  
try:
    import urlparse  # Python 2.x
except ImportError:
    import urllib.parse as urlparse


  def unicode_repr(instance):
      # Get the repr of an instance, but ensure it is a unicode string
      # on both python 3 (already the case) and 2 (not the case).
      if six.PY2:
          return repr(instance).decode('utf-8')
      return repr(instance)
keep keep keep add keep keep keep keep keep keep
 Added url and schema_url arguments (#4321) 
rest_framework/compat.py