  from django.http.multipartparser import MultiPartParser as DjangoMultiPartParser
  from django.http.multipartparser import MultiPartParserError, parse_header, ChunkIter
  from rest_framework.compat import etree, six, yaml
  from rest_framework.exceptions import ParseError
  from rest_framework.renderers import UnicodeJSONRenderer
  import json
  import datetime
  import decimal
  
  
 
</s> remove from rest_framework.request import clone_request
 </s> add from rest_framework.request import clone_request, is_form_media_type </s> remove     renderer_class = UnicodeJSONRenderer
 </s> add     renderer_class = renderers.UnicodeJSONRenderer </s> remove     supports_html_forms = True
 </s> add  </s> remove     supports_html_forms = True
 </s> add  </s> remove             raise ParseError('Multipart form parse error - %s' % six.u(exc))
 </s> add             raise ParseError('Multipart form parse error - %s' % six.u(exc.strerror))
from rest_framework import renderers
  from django.http.multipartparser import MultiPartParser as DjangoMultiPartParser
  from django.http.multipartparser import MultiPartParserError, parse_header, ChunkIter
  from rest_framework.compat import etree, six, yaml
  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
 Simplifying raw data renderering support 
rest_framework/parsers.py