Patching MySQLdb for manage.py