From 6964686f7c0a08935e7bbfaca0aa6f5662dc3d6d Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Fri, 27 Jun 2025 18:03:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(back)=20remove=20usage=20of=20depr?= =?UTF-8?q?ecated=20db=20engine?= 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/impress/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/impress/settings.py b/src/backend/impress/settings.py index 6d1d5bcf..2ce66a92 100755 --- a/src/backend/impress/settings.py +++ b/src/backend/impress/settings.py @@ -76,7 +76,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, ),