Move secrets.json to top-level
This commit is contained in:
parent
d0464e870c
commit
c795e1799c
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue