From e0fe38067fb19827c8770800d8247813e18fc752 Mon Sep 17 00:00:00 2001 From: Altair Bow Date: Sat, 14 Oct 2023 19:02:52 +0800 Subject: [PATCH] postgis: Change to inherit from PGDatabaseWrapperMixin --- dj_db_conn_pool/backends/postgis/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dj_db_conn_pool/backends/postgis/base.py b/dj_db_conn_pool/backends/postgis/base.py index e6a96c9..85c7762 100644 --- a/dj_db_conn_pool/backends/postgis/base.py +++ b/dj_db_conn_pool/backends/postgis/base.py @@ -3,9 +3,9 @@ from django.contrib.gis.db.backends.postgis import base from sqlalchemy.dialects.postgresql.base import PGDialect -from dj_db_conn_pool.core.mixins import PersistentDatabaseWrapperMixin +from dj_db_conn_pool.backends.postgresql.mixins import PGDatabaseWrapperMixin -class DatabaseWrapper(PersistentDatabaseWrapperMixin, base.DatabaseWrapper): +class DatabaseWrapper(PGDatabaseWrapperMixin, base.DatabaseWrapper): class SQLAlchemyDialect(PGDialect): pass