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

Answer by Christoffer for New environment varibles does not show up in django app

$
0
0

The problem is that uwsgi does not pick up variables in the activate file. Guess it is not using it when run by supervisor

Solution is to add the environment variable to the uwsgi ini file like so:

env = BROKER_URL=amqp://guest:guest@localhost/prod

Viewing all articles
Browse latest Browse all 45

Trending Articles