Skip to main content

Extensions to Django for use with MySQL/MariaDB

Project description

https://badge.fury.io/py/django-mysql.png https://travis-ci.org/adamchainz/django-mysql.png?branch=master https://pypip.in/d/django-mysql/badge.png https://readthedocs.org/projects/django-mysql/badge/?version=latest

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

Including

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

Requirements

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.

Documentation

You can view the online documentation at http://django-mysql.readthedocs.org .

History

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.

Source Distribution

django-mysql-0.1.1.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

django_mysql-0.1.1-py2.py3-none-any.whl (7.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-mysql-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-mysql-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4045944e073cb4b81cbf8c588268f544ce79c3706c6c7d954dd9e3b3a9bf1df4
MD5 020dd8dd705f8e44ff4e6375b33f6634
BLAKE2b-256 b32939e6a5acf2991c91dd5ff8c27eae4bd3875b5902553188d280bad07405cc

See more details on using hashes here.

File details

Details for the file django_mysql-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_mysql-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 978616221b54edeb91c41d0f6a539da0885c84def4870e5c6b0a972a54d716c0
MD5 1e810018aaa8b6f03fb306f28fcdd8b6
BLAKE2b-256 83530a6e6ac6eb3c22ccb91679c291f33d0800d6a62a8760d7aade6f2df3d468

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page