We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using mysqlclient-python > 1.4.0 with Django 1.11, I get this error:
In /django/db/backends/mysql/base.py", line 276, in get_new_connection conn.encoders[SafeBytes] = conn.encoders[bytes] KeyError: <type 'str'>
This can be easily reproduced as follows:
make a virtualenv pip install mysqlclient-python # version 1.4.0 or higher >>> import MySQLdb >>> conn = MySQLdb.connection('localhost') # some connection >>> conn.encoders[bytes] Traceback (most recent call last): File "<stdin>", line 1, in <module> KeyError: <type 'str'>
The text was updated successfully, but these errors were encountered:
See #306. Django touches many private areas of mysqlclient.
Sorry, something went wrong.
Ok, tx for the quick reply! I have to stay on Django 1.11 LTS (organization policy), I will pin mysqlclient accordingly.
No branches or pull requests
When using mysqlclient-python > 1.4.0 with Django 1.11, I get this error:
This can be easily reproduced as follows:
The text was updated successfully, but these errors were encountered: