title: How to convert content of InMemoryUploadedFile to string
body: <p>Does anyone know how to convert content of uploaded file (<code>InMemoryUploadedFile</code>) in Django2 to string?</p>
  
  <p>I want to know how to write the following <code>convert2string()</code>:</p>
  
  <pre><code>uploaded_file = request.FILES['file']
  my_xml = convert2string(uploaded_file)  # TODO write method(convert to xml string)
  obj = MyObject()
  parser = MyContentHandler(obj)
  xml.sax.parseString(my_xml, parser)  # or xml.sax.parse(convertType(uploaded_file), parser)
  </code></pre>