altairbow / django-db-connection-pool

Database connection pool component library for Django
https://pypi.python.org/pypi/django-db-connection-pool/
MIT License
181 stars 24 forks source link

postgis, django db connection pool #41

Closed buckmaxwell closed 1 year ago

altairbow commented 1 year ago

Have you tested this backend? I think you only need dj_db_conn_pool/backends/postgis/init.py and dj_db_conn_pool/backends/postgis/base.py and you may need define SQLAlchemyDialect in dj_db_conn_pool/backends/postgis/base.DatabaseWrapper for postgis

buckmaxwell commented 1 year ago

@altairbow - I am using it and it seems to work, but I am not sure if the actual connection pooling works. What do you think is the best way to tell?

altairbow commented 1 year ago

@altairbow - I am using it and it seems to work, but I am not sure if the actual connection pooling works. What do you think is the best way to tell?

OK, try this branch, I deleted dj_db_conn_pool/backends/postgis/django_tenants/*

hadpro24 commented 1 year ago

Hi @altairbow this branch is not avalaible