What is DJANGO-ENVIRON ?
For what it can be used and How to use it ?
I saw django-environ in one project, try to understand it and unsuccess, it's doc
but understand nothing
For example lets say you have the development environment (the computer you're doing development on) and the deployment environment (the server you're doing to publish the server on) instead of dealing with the path of each file or database once in every environment, you could set them as an environment variable in the server and the development machine, you could just tell the settings.py to look for the path in the environment variable.
thats as simple as i can get it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With