Browse Source

python3 manage.py makemigrations Model 执行报错

chenshibin 4 năm trước cách đây
mục cha
commit
5f320184c8
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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()