Skip to content
Snippets Groups Projects
Verified Commit 039d87ee authored by ynerant's avatar ynerant
Browse files

[constellation] usage of psycopg2 is deprecated


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 65e31d93
No related branches found
No related tags found
1 merge request!315Hello world!
...@@ -15,7 +15,6 @@ ...@@ -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' ...@@ -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 }}",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment