  from django.http import QueryDict
  from django.http.multipartparser import MultiPartParser as DjangoMultiPartParser
  from django.http.multipartparser import MultiPartParserError, parse_header, ChunkIter
  from django.utils import six
  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
 
</s> remove from rest_framework.compat import force_text, OrderedDict
 </s> add from rest_framework.compat import OrderedDict </s> remove from rest_framework.compat import StringIO
 </s> add  </s> remove from rest_framework.compat import yaml, etree, StringIO, BytesIO
 </s> add from rest_framework.compat import yaml, etree
from django.utils.encoding import force_text
from rest_framework.compat import etree, yaml, urlparse
  from django.http import QueryDict
  from django.http.multipartparser import MultiPartParser as DjangoMultiPartParser
  from django.http.multipartparser import MultiPartParserError, parse_header, ChunkIter
  from django.utils import six
from django.utils.encoding import force_text
from rest_framework.compat import etree, yaml, urlparse
  from rest_framework.exceptions import ParseError
  from rest_framework import renderers
  import json
  import datetime
  import decimal
keep keep keep keep replace keep keep keep keep keep
 Removed custom StringIO, force_text, smart_text compat 
rest_framework/parsers.py