django 启动mysql加载错误信息
作者:互联网
https://cloud.tencent.com/developer/article/1594506
https://blog.csdn.net/qq_36274515/article/details/89043481
\__init__.py
import pymysql
pymysql.install_as_MySQLdb()
venv\lib\site-packages\django\db\backends\mysql\operations.py", line 146, in last_executed_query
query = query.decode(errors='replace')
AttributeError: 'str' object has no attribute 'decode'
标签:py,错误信息,pymysql,django,decode,https,mysql,query 来源: https://www.cnblogs.com/heidsoft/p/16370575.html