Move secrets.json to top-level

This commit is contained in:
Ben Sturmfels 2024-03-20 14:42:10 +11:00
parent d0464e870c
commit c795e1799c
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -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):