Skip to main content

Extensions to Django for use with MySQL/MariaDB

Project description

MySQL and its fork MariaDB have a number of features which are not available in vanilla Django… This package helps you get at them.


Here’s a short list of what’s inside:

  • User locks - easy locking between your distributed servers
  • Easy access to server status variables
  • approx_count on QuerySet for quick estimates of the number of objects - and a quicker admin


Tested with:

  • Python: 2.7, 3.3, 3.4
  • Django: 1.7
  • 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.


You can view the online documentation at .


0.1.1 (2015-02-23)

  • Added Model and QuerySet subclasses which add the approx_count method

0.1.0 (2015-02-12)

  • First release on PyPI
  • Locks
  • GlobalStatus and SessionStatus

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-mysql, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django_mysql-0.1.1-py2.py3-none-any.whl (7.9 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size django-mysql-0.1.1.tar.gz (22.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page