Change psycopg2 version and change postgresql engine.
This commit is contained in:
parent
8a792a17a6
commit
f8312a0af1
@ -8,7 +8,7 @@ name = "pypi"
|
|||||||
[packages]
|
[packages]
|
||||||
|
|
||||||
django= "==2.1.4"
|
django= "==2.1.4"
|
||||||
psycopg2= "==2.7.6.1"
|
psycopg2= "==2.8.3"
|
||||||
gunicorn= "==19.9.0"
|
gunicorn= "==19.9.0"
|
||||||
lxml= "==4.2.5"
|
lxml= "==4.2.5"
|
||||||
tqdm= "==4.28.1"
|
tqdm= "==4.28.1"
|
||||||
|
@ -107,8 +107,8 @@ WSGI_APPLICATION = 'bundesdata_app.wsgi.application'
|
|||||||
# be foudn here: https://stackoverflow.com/a/42077576
|
# be foudn here: https://stackoverflow.com/a/42077576
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.postgresql',
|
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||||
'NAME': 'databaseName',
|
'NAME': get_secret("DB_NAME"),
|
||||||
'USER': get_secret("DB_USER"),
|
'USER': get_secret("DB_USER"),
|
||||||
'PASSWORD': get_secret("DB_PASSWORD"),
|
'PASSWORD': get_secret("DB_PASSWORD"),
|
||||||
'HOST': 'db',
|
'HOST': 'db',
|
||||||
|
Loading…
Reference in New Issue
Block a user