安装PyMySQL
git clone https://github.com/PyMySQL/PyMySQL
cd PyMySQL/
python setup.py install
pip show pymysql //查看是否安装成功
修改settings.py
配置__init__.py
生成数据表
使用下面命令: python manage.py migrate
https://blog.csdn.net/LABLENET/article/details/53321260
安装PyMySQL
git clone https://github.com/PyMySQL/PyMySQL
cd PyMySQL/
python setup.py install
pip show pymysql //查看是否安装成功
修改settings.py
配置__init__.py
生成数据表
使用下面命令: python manage.py migrate
https://blog.csdn.net/LABLENET/article/details/53321260