The dolphin-pony - proof that cute + cute = double cute.
Django-MySQL is a non-inventively named package that helps you use some MySQL/MariaDB-specific features in the world of Django.
Here's a short list of what's inside:
QuerySet
extensions - 'smart' iteration,approx_count
for quick estimates ofcount()
, quickpt-visual-explain
of the underlying query- Handler - quicker reads using MySQL's built-in NoSQL API
- Status variable inspection and utility methods
- User locks - use MySQL as a locking server between your servers
To see them all, check out the exposition at http://django-mysql.readthedocs.org/en/latest/exposition.html .
Tested with:
- Python: 2.7, 3.3, 3.4
- Django: 1.7, 1.8 RC
- MySQL: 5.5, 5.6 / MariaDB: 5.5, 10.0, 10.1
- mysqlclient: 1.3.5 (Python 3 compatible version of
MySQL-python
)
Any combination of these should be good, and also MySQL-python
should work
since it's just an older version of mysqlclient
.