This is a standalone python package to interface with tatoeba's db using django's orm. Should just work after you hook it up in your project.
django and python's mysql driver
pip install -r requirements.txt
grab it with pip:
pip install -e git+https://github.com/Tatoeba/dj-tatoeba2#egg=tatoeba2
In your settings.py add it to your installed apps tuple:
INSTALLED_APPS += ('tatoeba2',)
Also make sure the mysql server is running and the connection is properly configured in your settings.py