소스 검색

python3 manage.py makemigrations Model 执行报错

chenshibin 4 년 전
부모
커밋
5f320184c8
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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()