Quantcast
Channel: User Christoffer - Stack Overflow
Viewing all articles
Browse latest Browse all 45

New environment varibles does not show up in django app

$
0
0

I have added some new environment variables to my virtualenv. Added:

export BROKER_URL='amqp://guest:guest@localhost/prod'

to my bin/activate file.

But reloading uswgi does not make the new variables show up in my django app where I try and get it with:

BROKER_URL = os.environ.get('BROKER_URL')

Viewing all articles
Browse latest Browse all 45

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>