semvec/pypi-packages huggingface dataset:
django-cymysql 3.2.0
Django database backend for cymysql
License: BSD
Keywords: MySQL,cymysql

django-cymysql
==============

Django mysql database backend for cymysql

Requirements
-------------

* Django 1.10, 1.11, 2.0, 2.1, 2.2, 3.0, 3.1, 3.2
* CyMySQL (https://github.com/nakagami/CyMySQL) 0.9.18+

Installation
------------

Install with Django x.y.z.

::

    $ pip install cymysql
    $ pip install "django-cymysql>=x.y,<x.y+1"
    $ pip install Django==x.y.z

Database
------------

* Create database (set default character set to 'utf8')

::

    mysql> create database some_what_database default character set utf8;

Settings
------------

::

    DATABASES = {
        'default': {
            'ENGINE': 'mysql_cymysql',
            'NAME': 'some_what_database',
            'HOST': ...,
            'USER': ...,
            'PASSWORD': ...,
        }
    }