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