  back to the defaults.
  """
  from django.conf import settings
  from django.utils import importlib
  
  
  USER_SETTINGS = getattr(settings, 'REST_FRAMEWORK', None)
  
  DEFAULTS = {
 
</s> remove from django.utils.encoding import is_protected_type, smart_unicode
 </s> add from django.utils.encoding import is_protected_type
try:
    from django.utils.encoding import smart_text
except ImportError:
    from django.utils.encoding import smart_unicode as smart_text </s> remove from urlparse import urlparse
 </s> add try:
    from urllib.parse import urlparse
except ImportError:
    from urlparse import urlparse </s> remove from StringIO import StringIO
 </s> add from rest_framework.compat import StringIO
from six import string_types

  back to the defaults.
  """
  from django.conf import settings
  from django.utils import importlib
from six import string_types

  
  
  USER_SETTINGS = getattr(settings, 'REST_FRAMEWORK', None)
  
  DEFAULTS = {
keep keep keep add keep keep keep keep keep
 First passing test under p3k \o/ 
rest_framework/settings.py