Django MySQL backend for PyMySQL adapter
Project description
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 only been tested against Django trunk (1.4-pre-alpha), and Vinay Sajip's Py3k branch on BitBucket (https://bitbucket.org/vinay.sajip/django). At the moment, it won't work with Django 1.3, as it uses Aymeric Augustin's timezone-aware datetime patch.
Requirements
------------
* Django trunk or Py3k Branch
* PyMySQL (patches here: https://github.com/clelland/PyMySQL)
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.
====================
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 only been tested against Django trunk (1.4-pre-alpha), and Vinay Sajip's Py3k branch on BitBucket (https://bitbucket.org/vinay.sajip/django). At the moment, it won't work with Django 1.3, as it uses Aymeric Augustin's timezone-aware datetime patch.
Requirements
------------
* Django trunk or Py3k Branch
* PyMySQL (patches here: https://github.com/clelland/PyMySQL)
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-mysql-pymysql-0.1.tar.gz
.
File metadata
- Download URL: django-mysql-pymysql-0.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
dc53dd2c66344ee99b54cd2c37386cf298b32c772a4607a86043a15e44fd19f1
|
|
MD5 |
ef06c23bb0cdb6b4ee66b38a36020492
|
|
BLAKE2b-256 |
5eb948711b68652d30e30ae598f6edbf44b7ae9880f4fff107b49ca635c6d0bb
|