title: Pycharm: set environment variable for run manage.py Task
body: <p>I have moved my <code>SECRET_KEY</code> value out of my settings file, and it gets set when I load my virtualenv. I can confirm the value is present from <code>python manage.py shell</code>.</p>
  
  <p>When I run the Django Console, <code>SECRET_KEY</code> is missing, as it should. So in preferences, I go to Console>Django Console and load <code>SECRET_KEY</code> and the appropriate value. I go back into the Django Console, and <code>SECRET_KEY</code> is there.</p>
  
  <p>As expected, I cannot yet run a manage.py Task because it has yet to find the <code>SECRET_KEY</code>. So I go into Run>Edit Configurations to add <code>SECRET_KEY</code> into Django server and Django Tests, and into the project server. Restart Pycharm, confirm keys.</p>
  
  <p>When I run a manage.py Task, such as <code>runserver</code>, I still get <code>KeyError: 'SECRET_KEY'.</code></p>
  
  <p>Where do I put this key?</p>