django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
Did you install mysqlclient?
#
#
#
#
#
#
#
#
#
#
#
#
#
pip3 install pymysql
#
#
在你主目录里的init.py添加如下内容
import pymysql
pymysql.install_as_MySQLdb()
#
#
#
原文地址:http://blog.51cto.com/13386520/2342973
时间: 2024-10-07 04:39:47