  """
  from __future__ import unicode_literals
  from django.core.exceptions import PermissionDenied
  from django.http import Http404
  from django.utils.encoding import force_unicode
  from django.utils.html import escape
  from django.utils.safestring import mark_safe
  from django.views.decorators.csrf import csrf_exempt
  from rest_framework import status, exceptions
  from rest_framework.compat import View, apply_markdown
 
</s> remove from rest_framework.compat import View, apply_markdown
 </s> add from rest_framework.compat import View, apply_markdown, smart_text </s> remove from django.utils.encoding import force_unicode
 </s> add  </s> remove from rest_framework.compat import StringIO
from rest_framework.compat import six
from rest_framework.compat import smart_text
 </s> add  </s> remove         name = force_unicode(self.__class__.__name__)
 </s> add         name = self.__class__.__name__
  """
  from __future__ import unicode_literals
  from django.core.exceptions import PermissionDenied
  from django.http import Http404

  from django.utils.html import escape
  from django.utils.safestring import mark_safe
  from django.views.decorators.csrf import csrf_exempt
  from rest_framework import status, exceptions
  from rest_framework.compat import View, apply_markdown
keep keep keep keep replace keep keep keep keep keep
 Py3/2 compat fixes for uncode view names/descriptions 
rest_framework/views.py