Software Details:
Version: 0.2
Upload Date: 20 Feb 15
Distribution Type: Freeware
Downloads: 2
django-mysql-pool is a Django app to alter ENGINE to mysql_pool. You can add some DATABASE_POOL_ARGS, for example:
DATABASE_POOL_ARGS = {
'max_overflow': 10,
'pool_size':5,
'recycle':300
}
Optionally, add a sa_pool_key value so we don't need to hash each db.
Example:
'two': {
'ENGINE': 'mysql_pool',
'sa_pool_key': 'two',
...
}
Optionally, you can add a 'backend' key with the importable path to the backend you want to use.
'backend': 'mysql_pymysql.base'
Requirements:
- Python
- Django
- SQLAlchemy
Comments not found