code-for-venezuela / c4v-py

3 stars 3 forks source link

Luis/dynaconf #86

Closed LDiazN closed 3 years ago

LDiazN commented 3 years ago

Problem

We need a way to control environment configuration variables and constant project-wide variables, so we can customize the project behavior with minimal changes.

Solution

Dynaconf, we're using this library to manage that kind of configuration, allowing us to have multiple configuration environments, default values when variables are missing, and much more. For now, we're keeping it simple, we only use the main configuration file and default configuration values for a few variables.

Relevant files

Further work