From c795e1799c8606160610456f64afdbaeafb5d56c Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Wed, 20 Mar 2024 14:42:10 +1100 Subject: [PATCH] Move secrets.json to top-level --- conservancy/settings/prod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conservancy/settings/prod.py b/conservancy/settings/prod.py index e1c97300..365d1ff8 100644 --- a/conservancy/settings/prod.py +++ b/conservancy/settings/prod.py @@ -27,7 +27,7 @@ DATABASES = { # Apache/mod_wsgi doesn't make it straightforward to pass environment variables # to Django (can't use the Apache config). -with open(BASE_DIR / 'secrets.json') as f: +with open(BASE_DIR.parent / 'secrets.json') as f: secrets = json.load(f) def get_secret(secrets, setting):