  from django.test.client import encode_multipart
  from django.utils import six
  from django.utils.xmlutils import SimplerXMLGenerator
  from rest_framework import exceptions, serializers, status, VERSION
  from rest_framework.compat import (
      SHORT_SEPARATORS, LONG_SEPARATORS, StringIO, smart_text, yaml
  )
  from rest_framework.exceptions import ParseError
  from rest_framework.settings import api_settings
  from rest_framework.request import is_form_media_type, override_method
  from rest_framework.utils import encoders
  from rest_framework.utils.breadcrumbs import get_breadcrumbs
 
</s> remove from django.utils.xmlutils import SimplerXMLGenerator
 </s> add  </s> remove from rest_framework.compat import etree, yaml, force_text, urlparse
 </s> add from rest_framework.compat import yaml, force_text, urlparse </s> remove from django.utils import six, unittest
 </s> add from django.utils import six </s> remove     XMLRenderer, JSONPRenderer, BrowsableAPIRenderer
from rest_framework.parsers import YAMLParser, XMLParser
 </s> add     JSONPRenderer, BrowsableAPIRenderer
from rest_framework.parsers import YAMLParser </s> remove import datetime
 </s> add 
from rest_framework.compat import SHORT_SEPARATORS, LONG_SEPARATORS, yaml
  from django.test.client import encode_multipart
  from django.utils import six
  from django.utils.xmlutils import SimplerXMLGenerator
  from rest_framework import exceptions, serializers, status, VERSION
from rest_framework.compat import SHORT_SEPARATORS, LONG_SEPARATORS, yaml
from rest_framework.compat import SHORT_SEPARATORS, LONG_SEPARATORS, yaml
from rest_framework.compat import SHORT_SEPARATORS, LONG_SEPARATORS, yaml
  from rest_framework.exceptions import ParseError
  from rest_framework.settings import api_settings
  from rest_framework.request import is_form_media_type, override_method
  from rest_framework.utils import encoders
  from rest_framework.utils.breadcrumbs import get_breadcrumbs
keep keep keep keep replace replace replace keep keep keep keep keep
 Remove XML support from core 
rest_framework/renderers.py