passes with tox on my machine, but the travis build fails due to

database connection port. trying localhost over 127.0.0.1
This commit is contained in:
Nathan Victor 2017-07-27 10:09:17 -05:00
parent 1f0e055e67
commit e1081c0212

View File

@ -114,7 +114,7 @@ DATABASES = {
'NAME': '{% if cookiecutter.windows == 'y' %}localhost{% endif %}/{{cookiecutter.project_slug}}',
'USER': env.db('DATABASE_USER', default=''),
'PASSWORD': env.db('DATABASE_PASSWORD', default=''),
'HOST': '127.0.0.1',
'HOST': 'localhost',
'PORT': '',
'CONN_MAX_AGE': 0
}