微信扫一扫
安装了pymysql的情况下报错
在settings.py的父目录的__init__.py中加入代码
import pymysqlpymysql.install_as_MySQLdb()
相关推荐