because mysqlclient Module installation failed , Need to change pymysql Module connection mysql database , install pymysql Module running error
No settings Django Use pymysql Module connection mysql database
It needs to be in the project folder __init__.py Set the database connection module in
Add the following two lines of code
import pymysql
pymysql.install_as_MySQLdb()