pymysql 使用配置

需要在项目init.py中添加:
import pymysql
pymysql.install_as_MySQLdb()

你可能感兴趣的:(pymysql 使用配置)