I\'m currently having difficulty passing environment variables into Gunicorn for my Django project. I\'m on the latest 19.1 version. I have a wsgi.py file like so:
I don't quite understand what you are trying to do here. If you pass environment variables in the bash command line, they are already in os.environ: there is no need to get them from anywhere else. The environ dictionary is made up of elements passed from the request, not the shell.