This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: This package is deprecated. Try using: https://pypi.org/project/django-postgrespool2/
This is a simple Postgres Connection Pooling backend for Django, powered by the lovely and beautiful SQLAlchemy.
Experimental: use with caution.
Usage
Using Django-PostgresPool is simple, just set django_postgrespool as your connection engine:
DATABASES = {
'default': {
'ENGINE': 'django_postgrespool'
If you’re using the dj-database-url module:
import dj_database_url DATABASES['default'] = dj_database_url.config() DATABASES['default']['ENGINE'] = 'django_postgrespool'
Everything should work as expected.
Installation
Installing Django-PostgresPool is simple, with pip:
$ pip install django-postgrespool
Configuration
Optionally, you can provide additional options to pass to SQLAlchemy’s pool creation:
DATABASE_POOL_ARGS = {
'max_overflow': 10,
'pool_size': 5,
'recycle': 300
}
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-postgrespool-0.2.0.tar.gz.
File metadata
- Download URL: django-postgrespool-0.2.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98b14f091afcf933ab366839ed245698f4b5e2c43cea829e1a691657506d8b79
|
|
| MD5 |
4284d7ae8e7f6ad9f7ff83ccbb043403
|
|
| BLAKE2b-256 |
7274f624fc0ac773fe9e430aa8415d43d845cd064f41b1b4c7c7822861dbe87a
|