Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
34ce276a
Unverified
Commit
34ce276a
authored
Mar 18, 2017
by
Thom Wiggers
📐
Browse files
Fix production settings application
parent
8915c45b
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/thaliawebsite/settings/production.py
View file @
34ce276a
...
...
@@ -41,14 +41,10 @@ if 'DJANGO_HOSTS' in os.environ:
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'django.db.backends.postgresql'
,
'NAME'
:
os
.
environ
.
get
(
'POSTGRES_USER'
),
'USER'
:
'postgres'
,
'DATABASE'
:
os
.
environ
.
get
(
'POSTGRES_DB'
),
'USER'
:
os
.
environ
.
get
(
'POSTGRES_USER'
,
'postgres'
),
'NAME'
:
os
.
environ
.
get
(
'POSTGRES_DB'
),
'HOST'
:
os
.
environ
.
get
(
'DJANGO_POSTGRES_HOST'
),
'PORT'
:
5432
,
'TEST'
:
{
'NAME'
:
'thaliatest'
,
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment