会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
meml
希望屏幕前的你永远保持自信!
博客园
首页
新随笔
联系
订阅
管理
2020年8月28日
django生成迁移文件报错,django.core.exceptions.ImproperlyConfigured: mysqlclient 1.4.0 or newer is required; you have 0.10.0.
摘要: 解决:在工程文件的__init__.py中加上(打黄这个) 指定版本 import pymysqlpymysql.version_info = (1, 4, 13, "final", 0)pymysql.install_as_MySQLdb()
阅读全文
posted @ 2020-08-28 20:54 meml
阅读(3042)
评论(0)
推荐(1)
公告