1.查看Django版本python -c "import django; print(django.__path__)"2.升级django$python -m pip install -U Django