mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-07 13:34:53 +03:00
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:
parent
1f0e055e67
commit
e1081c0212
|
@ -114,7 +114,7 @@ DATABASES = {
|
||||||
'NAME': '{% if cookiecutter.windows == 'y' %}localhost{% endif %}/{{cookiecutter.project_slug}}',
|
'NAME': '{% if cookiecutter.windows == 'y' %}localhost{% endif %}/{{cookiecutter.project_slug}}',
|
||||||
'USER': env.db('DATABASE_USER', default=''),
|
'USER': env.db('DATABASE_USER', default=''),
|
||||||
'PASSWORD': env.db('DATABASE_PASSWORD', default=''),
|
'PASSWORD': env.db('DATABASE_PASSWORD', default=''),
|
||||||
'HOST': '127.0.0.1',
|
'HOST': 'localhost',
|
||||||
'PORT': '',
|
'PORT': '',
|
||||||
'CONN_MAX_AGE': 0
|
'CONN_MAX_AGE': 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user