From 709628a26a09f9dd3e4f68265ef34b3d55621353 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Fri, 27 Jun 2025 15:18:27 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(back)=20remove=20usage=20of=20depr?= =?UTF-8?q?ecated=20db=20engine=20(#937)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The db engine postgresql_psycopg2 does not exists anymore in django but for BC compat it is possible to use it in the configuration and it is replace by postgresql at runtime. We changed this settings to use the good one. --- src/backend/people/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/people/settings.py b/src/backend/people/settings.py index 27fc2f4..4e750d8 100755 --- a/src/backend/people/settings.py +++ b/src/backend/people/settings.py @@ -102,7 +102,7 @@ class Base(Configuration): DATABASES = { "default": { "ENGINE": values.Value( - "django.db.backends.postgresql_psycopg2", + "django.db.backends.postgresql", environ_name="DB_ENGINE", environ_prefix=None, ),