Explorar o código

python3 manage.py makemigrations Model 执行报错

chenshibin %!s(int64=4) %!d(string=hai) anos
pai
achega
5f320184c8
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      AnsjerUIDManage/__init__.py

+ 3 - 0
AnsjerUIDManage/__init__.py

@@ -0,0 +1,3 @@
+import pymysql
+pymysql.version_info = (1, 3, 13, "final", 0)
+pymysql.install_as_MySQLdb()