  from rest_framework.compat import etree, yaml, force_text, urlparse
  from rest_framework.exceptions import ParseError
  from rest_framework import renderers
  import json
  import datetime
  import decimal
  
  
  class DataAndFiles(object):
      def __init__(self, data, files):
          self.data = data
 
</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 rest_framework.compat import (
    SHORT_SEPARATORS, LONG_SEPARATORS, StringIO, smart_text, yaml
)
 </s> add from rest_framework.compat import SHORT_SEPARATORS, LONG_SEPARATORS, yaml </s> remove from django.utils.xmlutils import SimplerXMLGenerator
 </s> add  </s> remove     XMLRenderer, JSONPRenderer, BrowsableAPIRenderer
from rest_framework.parsers import YAMLParser, XMLParser
 </s> add     JSONPRenderer, BrowsableAPIRenderer
from rest_framework.parsers import YAMLParser </s> remove from rest_framework.compat import yaml, etree, StringIO, BytesIO
 </s> add from rest_framework.compat import yaml, BytesIO
  from rest_framework.compat import etree, yaml, force_text, urlparse
  from rest_framework.exceptions import ParseError
  from rest_framework import renderers
  import json


  
  
  class DataAndFiles(object):
      def __init__(self, data, files):
          self.data = data
keep keep keep keep replace replace keep keep keep keep keep
 Remove XML support from core 
rest_framework/parsers.py