Metadata-Version: 2.1
Name: django-pooldb
Version: 1.2
Summary: 基于DBUtils.PooledDB封装的Django数据库连接引擎
Home-page: https://github.com/liangalien/django-pooldb
Author: shiqiangliang
Author-email: lsq54264@vip.qq.com
License: MIT
Keywords: django db pool,django mysql pool,django postgres pool
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6,<3.11
Description-Content-Type: text/markdown
Requires-Dist: django (==3.2.18)
Requires-Dist: DBUtils
Requires-Dist: pymysql
Requires-Dist: psycopg2

django-pooldb
=============
基于DBUtils.PooledDB封装的Django数据库连接池引擎
Django database connection pool engine based on DBUtils.PooledDB
------------------------
~~~~~
pip install django-pooldb
~~~~~

Using django-pooldb
-------------------

Add the following to your ``settings.py``:
```python
DATABASES = {
    'default': {
        'ENGINE': 'pooldb.backends.mysql',
        'NAME': 'test',
        'HOST': '127.0.0.1',
        'PORT': 13306,
        'USER': 'root',
        'PASSWORD': '123456',

        'OPTIONS': {  #  dbutils extra params
            'maxconnections': 100,
        },
    }
}
```





