  import json
  from django import forms
  from django.http.multipartparser import parse_header
  from django.template import RequestContext, loader, Template
  from django.utils.encoding import force_unicode
  from django.utils.xmlutils import SimplerXMLGenerator
  from rest_framework.compat import yaml
  from rest_framework.exceptions import ConfigurationError
  from rest_framework.settings import api_settings
  from rest_framework.request import clone_request
 
</s> remove from django.utils.encoding import force_unicode
 </s> add  </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 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 ''
  import json
  from django import forms
  from django.http.multipartparser import parse_header
  from django.template import RequestContext, loader, Template

  from django.utils.xmlutils import SimplerXMLGenerator
  from rest_framework.compat import yaml
  from rest_framework.exceptions import ConfigurationError
  from rest_framework.settings import api_settings
  from rest_framework.request import clone_request
keep keep keep keep replace keep keep keep keep keep
 Py3/2 compat fixes for uncode view names/descriptions 
rest_framework/renderers.py