Unverified Commit 34ce276a authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Fix production settings application

parent 8915c45b
...@@ -41,14 +41,10 @@ if 'DJANGO_HOSTS' in os.environ: ...@@ -41,14 +41,10 @@ if 'DJANGO_HOSTS' in os.environ:
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.postgresql', 'ENGINE': 'django.db.backends.postgresql',
'NAME': os.environ.get('POSTGRES_USER'), 'USER': os.environ.get('POSTGRES_USER', 'postgres'),
'USER': 'postgres', 'NAME': os.environ.get('POSTGRES_DB'),
'DATABASE': os.environ.get('POSTGRES_DB'),
'HOST': os.environ.get('DJANGO_POSTGRES_HOST'), 'HOST': os.environ.get('DJANGO_POSTGRES_HOST'),
'PORT': 5432, 'PORT': 5432,
'TEST': {
'NAME': 'thaliatest',
}
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment