[constellation] usage of psycopg2 is deprecated
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
65e31d9368
commit
039d87ee74
|
@ -15,7 +15,6 @@
|
||||||
- python3-django-polymorphic
|
- python3-django-polymorphic
|
||||||
- python3-ipython
|
- python3-ipython
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- python3-psycopg2
|
|
||||||
- python3-requests
|
- python3-requests
|
||||||
register: apt_result
|
register: apt_result
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
@ -29,7 +29,7 @@ TIME_ZONE = 'Europe/Paris'
|
||||||
# The storage systems parameters to use
|
# The storage systems parameters to use
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': { # The DB
|
'default': { # The DB
|
||||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
'ENGINE': 'django.db.backends.postgresql',
|
||||||
'NAME': '{{ constellation.database.name }}',
|
'NAME': '{{ constellation.database.name }}',
|
||||||
'USER': '{{ constellation.database.user }}',
|
'USER': '{{ constellation.database.user }}',
|
||||||
'PASSWORD': "{{ constellation.database.password }}",
|
'PASSWORD': "{{ constellation.database.password }}",
|
||||||
|
|
Loading…
Reference in New Issue