-
Notifications
You must be signed in to change notification settings - Fork 1
How config works
Todd Glover edited this page Jun 3, 2023
·
2 revisions
System configuration:
-
per-site configuration takes place in tt_conf.py
-
tt_conf.py works by
- importing tt_base_conf.py, which creates standard values and sets things to defaults
- then optionally overriding any or all of these values
-
tt_conf.py is required. If it's not present, system should (but doesnt yet) create one by copying tt_conf_template.py, saying so, and carrying on.
-
in which case it should probably makesure that import tt_conf is near the beginning of the list of imports (so that other modules that also import tt_conf will be able to find the newly-created tt_conf.py)
-
tt_conf.py is in .gitignore, so it stays consistent at a site.