Skip to content

Commit

Permalink
postgis: Change to inherit from PGDatabaseWrapperMixin
Browse files Browse the repository at this point in the history
  • Loading branch information
altairbow committed Oct 14, 2023
1 parent 557d19e commit e0fe380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dj_db_conn_pool/backends/postgis/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e0fe380

Please sign in to comment.