[constellation] usage of psycopg2 is deprecated

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2022-01-18 22:04:59 +01:00
parent 65e31d9368
commit 039d87ee74
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,6 @@
- python3-django-polymorphic
- python3-ipython
- python3-pip
- python3-psycopg2
- python3-requests
register: apt_result
retries: 3

View File

@ -29,7 +29,7 @@ TIME_ZONE = 'Europe/Paris'
# The storage systems parameters to use
DATABASES = {
'default': { # The DB
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'ENGINE': 'django.db.backends.postgresql',
'NAME': '{{ constellation.database.name }}',
'USER': '{{ constellation.database.user }}',
'PASSWORD': "{{ constellation.database.password }}",