title: Opening an uploaded csv file
body: <p>I am failing to open this uploaded csv file. When I use a file from the pc directory it works fine but when I upload it from an html form I get this error:</p>
  
  <pre><code>TypeError: coercing to Unicode: need string or buffer, file found
  </code></pre>
  
  <p>When trying to read from uploaded csv file</p>
  
  <pre><code>    domain_file =  request.POST['csv'].file
      file = open(domain_file, "r")
      csv_file = csv.reader(file,  delimiter=",", quotechar='"')
  </code></pre>
  
  <p>This works fine when am using a file from pc</p>
  
  <pre><code>    file = open('/Desktop/csv.csv', "r")
      csv_file = csv.reader( file,  delimiter=",", quotechar='"')
  </code></pre>