aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-11-08 13:15:21 +0300
committerFrederick Muriuki Muriithi2022-11-08 13:15:21 +0300
commit5deac1414efe34e29c8cea2976d31c2cc67b10b7 (patch)
tree0018042e38e6f1a9783f72465084b9e934500282 /gn3
parent74c431ca4f6e015fd53f2e270e3cc89546caca56 (diff)
downloadgenenetwork3-5deac1414efe34e29c8cea2976d31c2cc67b10b7.tar.gz
Settings: Provide default `AUTH_DB` setting.
Diffstat (limited to 'gn3')
-rw-r--r--gn3/settings.py2
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")