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'