      def get_name(self, view):
          try:
              return view.get_name()
          except AttributeError:
              return force_unicode(view.__class__.__name__)
  
      def get_description(self, view):
          try:
              return view.get_description(html=True)
          except AttributeError:
 
</s> remove             return force_unicode(view.__doc__)
 </s> add             return smart_text(view.__doc__ or '') </s> remove         name = force_unicode(self.__class__.__name__)
 </s> add         name = self.__class__.__name__ </s> remove         description = force_unicode(self.__doc__) or u''
 </s> add         description = self.__doc__ or '' </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 
            return smart_text(view.__class__.__name__)
      def get_name(self, view):
          try:
              return view.get_name()
          except AttributeError:
            return smart_text(view.__class__.__name__)
  
      def get_description(self, view):
          try:
              return view.get_description(html=True)
          except AttributeError:
keep keep keep keep replace keep keep keep keep keep
 Py3/2 compat fixes for uncode view names/descriptions 
rest_framework/renderers.py