python2 -m pip install
解决下载慢问题
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple pip config set install.trusted-host mirrors.aliyun.com => python3 -m pip config set install.trusted-host mirrors.aliyun.com
新建应用
python3 manage.py startapp myTools
检查表结构是否变更
python3 manage.py makemigrations
同步表数据
python3 manage.py migrate