  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
  from rest_framework.response import Response
  from rest_framework.request import Request
  from rest_framework.settings import api_settings
  import re
  
 
</s> remove from django.utils.encoding import force_unicode
 </s> add  </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         description = force_unicode(self.__doc__) or u''
 </s> add         description = self.__doc__ or ''
from rest_framework.compat import View, apply_markdown, smart_text
  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, smart_text
  from rest_framework.response import Response
  from rest_framework.request import Request
  from rest_framework.settings import api_settings
  import re
  
keep keep keep keep replace keep keep keep keep keep
 Py3/2 compat fixes for uncode view names/descriptions 
rest_framework/views.py