diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-17 14:21:33 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-17 14:21:33 +0200 | 
| commit | 5f62d3edf3f0d8bdd36765bb992cdcea91e28564 (patch) | |
| tree | cb93253a5d0632058b78772b6274dc3b3f78b7b2 /example_project | |
| parent | b4696b8a68eaaca644ecf799666c268c32ab6500 (diff) | |
| download | Ishtar-5f62d3edf3f0d8bdd36765bb992cdcea91e28564.tar.bz2 Ishtar-5f62d3edf3f0d8bdd36765bb992cdcea91e28564.zip | |
CI: specific conf for CI - fix DB host
Diffstat (limited to 'example_project')
| -rw-r--r-- | example_project/local_settings.py.gitlab-ci | 12 | ||||
| -rw-r--r-- | example_project/settings.py | 2 | 
2 files changed, 13 insertions, 1 deletions
| diff --git a/example_project/local_settings.py.gitlab-ci b/example_project/local_settings.py.gitlab-ci new file mode 100644 index 000000000..6c7e5fbba --- /dev/null +++ b/example_project/local_settings.py.gitlab-ci @@ -0,0 +1,12 @@ +DATABASES = { +    'default': { +        'ENGINE': 'django.contrib.gis.db.backends.postgis', +        'NAME': 'ishtar', +        'USER': 'ishtar', +        'PASSWORD': 'ishtar', +        'HOST': 'mdillon-postgis', +        'PORT': '5432', +    } +} + +LOGFILE = '/tmp/ishtar.log' diff --git a/example_project/settings.py b/example_project/settings.py index 6d984f6e6..9982d624f 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -47,7 +47,7 @@ DATABASES = {          'NAME': 'ishtar',          'USER': 'ishtar',          'PASSWORD': 'ishtar', -        'HOST': 'postgis', +        'HOST': '127.0.0.1',          'PORT': '5432',      }  } | 
