  """
  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
 
</s> remove from django.utils.encoding import smart_text
from rest_framework.fields import get_attribute, empty, Field
from rest_framework.reverse import reverse
from rest_framework.utils import html
 </s> add # coding: utf-8
from __future__ import unicode_literals </s> remove                 str(item_representation),
                str(item) + ' - ' + str(item_representation)
 </s> add                 six.text_type(item_representation),
                six.text_type(item) + ' - ' + six.text_type(item_representation) </s> remove                 str(self.to_representation(item)),
                str(item)
 </s> add                 six.text_type(self.to_representation(item)),
                six.text_type(item)
from django.utils import six
  """
  from __future__ import unicode_literals
from django.utils import six
  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
 str() -> six.text_type(). Closes #2290. 
rest_framework/exceptions.py