  """
  from __future__ import unicode_literals
  
  from django.utils.translation import ugettext_lazy as _
  from django.utils.translation import ungettext_lazy
  from rest_framework import status
 
</s> remove from rest_framework.compat import force_text
 </s> add  </s> remove     smart_text, EmailValidator, MinValueValidator, MaxValueValidator,
 </s> add     EmailValidator, MinValueValidator, MaxValueValidator, </s> remove from django.utils.encoding import is_protected_type
 </s> add from django.utils.encoding import is_protected_type, smart_text </s> remove from rest_framework.compat import yaml, etree, StringIO, BytesIO
 </s> add from rest_framework.compat import yaml, etree
from django.utils.encoding import force_text
  """
  from __future__ import unicode_literals
from django.utils.encoding import force_text
  
  from django.utils.translation import ugettext_lazy as _
  from django.utils.translation import ungettext_lazy
  from rest_framework import status
keep add keep keep keep keep
 Removed custom StringIO, force_text, smart_text compat 
rest_framework/exceptions.py