django Version support for ,LTS Indicates the long-term maintenance version
Recommended pip Installation package
pip install django==3.0
What's installed here is 3.0 Version of , For other versions, just change the version number .
If download is particularly slow , Please replace the domestic installation source
Alibaba cloud http://mirrors.aliyun.com/pypi/simple/
University of science and technology of China https://pypi.mirrors.ustc.edu.cn/simple/
douban (douban) http://pypi.douban.com/simple/
Tsinghua University https://pypi.tuna.tsinghua.edu.cn/simple/
University of science and technology of China http://pypi.mirrors.ustc.edu.cn/simple/
Download mode
pip install django==3.0 -i https://pypi.tuna.tsinghua.edu.cn/simple/
In command line mode
import django
django.__version__
pip uninstall django==3.0
django Study or do projects , Be sure to pay attention to the compatibility of the version , And the version corresponding to the project . For this problem, you can use virtual environment management .