Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rtyler/connector-django-mysql
Django backend for MySQL Connector/Python, a pure-Python MySQL library
https://github.com/rtyler/connector-django-mysql
Last synced: 2 months ago
JSON representation
Django backend for MySQL Connector/Python, a pure-Python MySQL library
- Host: GitHub
- URL: https://github.com/rtyler/connector-django-mysql
- Owner: rtyler
- Created: 2010-02-18T22:52:34.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-09-08T00:27:34.000Z (over 13 years ago)
- Last Synced: 2024-05-01T22:48:42.663Z (8 months ago)
- Language: Python
- Homepage: https://launchpad.net/myconnpy
- Size: 109 KB
- Stars: 7
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Experimental Django backend using MySQL Connector/Python
==============================================================================Disclaimer
=====================!!!!!!!!!!! THIS IS STILL IN DEVELOPMENT !!!!!!!!!!!!!!!!!!!
!!!!!!!! EXPECT THING TO NOT WORK OR GO WRONG !!!!!!!!!!!!!!
!!!! DO NOT USE IN PRODUCTION etc.. etc... !!!!!!!!!!!!!!!!!Ah, and make backups! :-)
Dependencies
=====================* Python 2.3 or greater.
* Django 1.2: http://www.djangoproject.com
* MySQL Connector/Python (currently in development)
shell> bzr checkout lp:~mysql/myconnpy/main myconnpy
shell> cd myconnpy
shell> python setup.py installInstallation
=====================To install the Django backend, do the following:
shell> python ./setup.py install
It will install it in site-packages/mysql/djangoUsage
=====================To configure your Django project to use the backend, set the engine in
your settings.py like this:DATABASE_ENGINE='mysql.django'
The above assumes you installed the mysql.django module somewhere where
Python can find it (see Installation).Some caveats though:
* When you were using the DATABASE_OPTIONS and stored settings in an
option file, that will not work anymore. Do it the normal Django way.
* You can't use UNIX Sockets (yet).Report problems
=====================Report problems to Geert Vanderkelen