Grouping Environment Variables in Django

Oftentimes values in settings.py are provided using environment variables. This is one of the easiest ways to do it. However it’s easy to misuse it, and variables get scattered across your code base. This makes it harder for DevOps to track which variables are needed in case they need to have a quick look at the code while configuring the deployment environment.