title: Unable to access file as a database in django
body: <p>In my django application structure is as follows:</p>
  
  <pre><code>__init__.py  
  __init__.pyc  
  models.py
  tests.py  
  usage.rrd  
  views.py  
  views.pyc
  </code></pre>
  
  <p>I am trying to access the <code>usage.rrd</code> file in <code>views.py</code> as follows:</p>
  
  <pre><code>from django.http import HttpResponse
  import rrdtool
  
  def hello(request):
          info = rrdtool.info('usage.rrd')
          return HttpResponse(info)
  </code></pre>
  
  <p>but I am getting: </p>
  
  <blockquote>
    <p>opening '/usage.rrd': No such file or
    directory</p>
  </blockquote>
  
  <p>despite being in the current directory.</p>