title: Referencing file in Django views.py
body: <p>I am building a Django web interface (overkill - I know!) for a few small python functions. One of these transforms a txt file stored in Django root. Well it aims to.</p>
  
  <p>I have the following setup in a few places:</p>
  
  <pre><code>with open('file.csv','r') as source:
  ...
  </code></pre>
  
  <p>However, without setting the entire directory on my machine (e.g. /home/...), it cannot find the file. I have tried putting this in the Static directory (as ideally I would like people to be able to download the file at a later stage) but same problem.</p>
  
  <p>How do you work with files within Django? What is best practice to solve the above allowing someone to download it later?</p>