title: Environment variable coming up as 'None" using dotenv python
body: <p>I am trying to use <a href="https://github.com/theskumar/python-dotenv" rel="noreferrer">python-dotenv</a>, but the environment variables I'm trying to pass keep coming up as 'None'. I have two files in the folder: .env &amp; settings.py</p>
  
  <p>I have the following in my .env file:
  <code>TEST_VAR=jkh45k3j4h5k34j</code></p>
  
  <p>And I have the following in the same folder in my settings.py:</p>
  
  <pre><code>import os
  from dotenv import load_dotenv
  load_dotenv()
  
  test_var = os.getenv("TEST_VAR")
  
  print(test_var)
  </code></pre>
  
  <p>The output I get when running <code>python3 settings.py</code> is:
  <code>None</code></p>
  
  <p>Why am I not able to get the variable passed through to settings.py?</p>