diff --git a/roles/constellation/tasks/main.yml b/roles/constellation/tasks/main.yml index 923b4119..cacace83 100644 --- a/roles/constellation/tasks/main.yml +++ b/roles/constellation/tasks/main.yml @@ -15,7 +15,6 @@ - python3-django-polymorphic - python3-ipython - python3-pip - - python3-psycopg2 - python3-requests register: apt_result retries: 3 diff --git a/roles/constellation/templates/constellation/settings_local.py.j2 b/roles/constellation/templates/constellation/settings_local.py.j2 index b55d1e36..c9cf83be 100644 --- a/roles/constellation/templates/constellation/settings_local.py.j2 +++ b/roles/constellation/templates/constellation/settings_local.py.j2 @@ -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 }}",