Add a config object
- add the following file: + src/urban_meal_delivery/_config.py - a config module is created holding two sets of configurations: + production => against the real database + testing => against a database with test data - the module is "protected" (i.e., underscore) and imported at the top level via a proxy-like object `config` that detects in which of the two environments the package is being run
This commit is contained in:
parent
b42ceb4cea
commit
9456f86d65
7 changed files with 170 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,4 +1,5 @@
|
|||
.cache/
|
||||
*.egg-info/
|
||||
.env
|
||||
.python-version
|
||||
.venv/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue