数据库
首页 > 数据库> > django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3

django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3

作者:互联网

使用2.2 版本的django时,出现django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.,查了资料才知道是兼容问题

出现此类问候删除项目根目录下__init__.py 文件中以下两行代码

import pymysql
pymysql.install_as_MySQLdb()

 

原文:https://blog.csdn.net/lpw_cn/article/details/103978909

标签:0.9,core,13,1.3,mysqlclient,django,newer
来源: https://www.cnblogs.com/mian-1122/p/12943631.html