Answer the question
In order to leave comments, you need to log in
How to add a variable to os.environ?
Django project, OS-Ubuntu
there is a line if os.environ.get('EVEL')
I thought to add a variable EVEL
to the file .bashrc
###
export EVEL=1
###
but it didn't help.
When I execute print(os.environ)
that output content, there is no .bashrc
where at all and how to add environment variables?
Answer the question
In order to leave comments, you need to log in
Rebooted the car and went. I wonder if there is a way without rebooting?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question