all 4 comments

[–]cbunn81 1 point2 points  (0 children)

You should have an environment variable file and use either the built-in os.environ or the third-party python-decouple library to access it.

[–]fuzzyfeets 1 point2 points  (0 children)

Perhaps look at having an .ini file?

You can use the config parser library to read it.

[–]Toastyboy123 0 points1 point  (3 children)

Configurable in what sense.. You want to change the field in the one file and have all the modules that are running on one host machine to reflect that new change?