django2.2 学习

一 使用mysql问题,pymsql 有问题, 使用mysqlclient
https://blog.csdn.net/qq_37040516/article/details/89339805
$ python manage.py migrate

如果pip装不上, 就去安装对应版本的whl
1先确定python的版本 我的是 3.6 32位 使用命令python查看
2pip install wheel 安装whell
3https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python 下载对应的whl, 报错:***.whl is not a supported wheel on this platform.文件和python不匹配(文件名中cm后面的数字和python版本应该匹配)
4pip install 包名.whl

原文地址:https://www.cnblogs.com/jackduan/p/12039992.html