MySQL Forums
Forum List  »  Connector/Python

Re: Django 1.10 + mysql connector 2.1.4
Posted by: Russell McFatter
Date: November 01, 2016 08:04AM

Yes, it's broken, but as of Django 1.9. The MySQL Connector/Python method "bulk_update_sql" is expecting to get passed a number (of fields to generate placeholders for); instead it's getting passed a tuple (the actual placeholder).

Looks like it broke other connectors too. See:
https://bitbucket.org/Manfre/django-mssql/issues/80/error-when-using-django-19

This is likely a easy tweak to mysql/connector/django/operations.py, but I worry that if that's broken, other things likely are as well.

Options: ReplyQuote


Subject
Written By
Posted
Re: Django 1.10 + mysql connector 2.1.4
November 01, 2016 08:04AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.