执行:python manage.py makemigrations命令时报错
raise ImproperlyConfigured('mysqlclient 1.4.0 or newer is required; you have %s.' % Database.__version__)
django.core.exceptions.ImproperlyConfigured: mysqlclient 1.4.0 or newer is required; you have 0.10.0.
解决办法:根据报错信息中base.py文件所在路径,找到该文件,注释掉异常的代码部分。
问题解决:再次执行python manage.py makemigrations命令,执行成功