From 5deac1414efe34e29c8cea2976d31c2cc67b10b7 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 8 Nov 2022 13:15:21 +0300 Subject: Settings: Provide default `AUTH_DB` setting. --- gn3/settings.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gn3') 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") -- cgit v1.2.3