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'
原创文章,作者:506227337,如若转载,请注明出处:https://blog.ytso.com/267380.html