Parcourir la source

python3 manage.py makemigrations Model 执行报错

chenshibin il y a 4 ans
Parent
commit
5f320184c8
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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()