1.安装Django
1.安装Django时遇到的问题提示:
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
解决办法:是安装的是Python3,这个是默认的pytho2,所以在终端应更新pip,输入:pip3 install --upgrade pip ,而不是pip install --upgrade pip;
2.创建django project
在终端使用django-admin命令创建站点