title: How to set environment variables in heroku-django project?
body: <p>I have this code in my settings.py..</p>
  
  <pre><code>EMAIL_HOST = 'smtp.sendgrid.net'
  EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER')
  EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD')
  </code></pre>
  
  <p>I tried setting environment variable using this in heroku bash</p>
  
  <pre><code>export EMAIL_HOST_USER=xxx
  </code></pre>
  
  <p>and also </p>
  
  <pre><code>heroku config:set EMAIL_HOST_USER=xxx
  </code></pre>
  
  <p>None of the both method worked for me.
  How can i set environment variable in heroku?  </p>