# See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/
try:
- with open('~/.styxrc', 'r') as styxrc:
+ with open(os.path.expanduser('~/.styxrc'), 'r') as styxrc:
LOCAL_SETTINGS = json.loads(styxrc.read())
except FileNotFoundError:
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'styx',
'USER': 'styxuser',
+ 'HOST': 'localhost',
'PASSWORD': LOCAL_SETTINGS['DB_PASSWORD'],
}
}