Skip to content

ciena-blueplanet/django-mysql-pymysql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

django-mysql-pymysql

This is a Django database backend for MySQL, using the PyMySQL database adapter. It is intended to be a drop-in replacement for the built-in MySQLdb backend, and leverages quite a bit of its code.

It is currently experimental, and has been tested with Django 1.8.

Requirements

Installation

  1. Clone and install into your site-packages directory:

     $ git clone https://github.com/clelland/django-mysql-pymysql
     $ cd django-mysql-pymysql
     $ python setup.py install
    
  2. Edit your settings file:

     DATABASES = {
         'default': {
             'ENGINE': 'mysql_pymysql',
             'HOST': ...,
             'USER': ...,
             'PASSWORD': ...,
         }
     }
    
  3. You're done.

About

MySQL backend for Django based on the PyMySQL database adapter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%