diff options
author | Frederick Muriuki Muriithi | 2022-11-08 13:15:21 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-11-08 13:15:21 +0300 |
commit | 5deac1414efe34e29c8cea2976d31c2cc67b10b7 (patch) | |
tree | 0018042e38e6f1a9783f72465084b9e934500282 /gn3 | |
parent | 74c431ca4f6e015fd53f2e270e3cc89546caca56 (diff) | |
download | genenetwork3-5deac1414efe34e29c8cea2976d31c2cc67b10b7.tar.gz |
Settings: Provide default `AUTH_DB` setting.
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/settings.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gn3/settings.py b/gn3/settings.py index fe747aa..062c1e6 100644 --- a/gn3/settings.py +++ b/gn3/settings.py @@ -65,3 +65,5 @@ ROUND_TO = 10 MULTIPROCESSOR_PROCS = 6 # Number of processes to spawn AUTH_MIGRATIONS = "migrations/auth/" +AUTH_DB = os.environ.get( + "AUTH_DB", f"{os.environ.get('HOME')}/genenetwork/gn3_files/db/auth.db") |