Metadata-Version: 2.0
Name: django-mysql
Version: 0.1.1
Summary: Extensions to Django for use with MySQL/MariaDB
Home-page: https://github.com/adamchainz/django-mysql
Author: Adam Johnson
Author-email: me@adamj.eu
License: BSD
Keywords: Django,MySQL,MariaDB
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: django (>=1.7)

============
Django MySQL
============

.. image:: https://badge.fury.io/py/django-mysql.png
    :target: http://badge.fury.io/py/django-mysql

.. image:: https://travis-ci.org/adamchainz/django-mysql.png?branch=master
        :target: https://travis-ci.org/adamchainz/django-mysql

.. image:: https://pypip.in/d/django-mysql/badge.png
        :target: https://pypi.python.org/pypi/django-mysql

.. image:: https://readthedocs.org/projects/django-mysql/badge/?version=latest
        :target: http://django-extensions.readthedocs.org/en/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


