首页 > 数据库技术 > 详细

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

时间:2020-06-28 23:15:23      阅读:95      评论:0      收藏:0      [点我收藏+]

In settings.py:

import pymysql

pymysql.install_as_MySQLdb()

add a line of code:

import pymysql
pymysql.version_info=(1,3,13,"final",0)
pymysql.install_as_MySQLdb()

  

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

原文:https://www.cnblogs.com/DotSDot/p/13205034.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!