1.经过命令行方式:首先进到安装了Django所在的虚拟环境,而后执行命令django
django-admin startproject [项目名称]命令行
1.1.在终端,进入到项目文件夹中,而后执行如下命令server
Python manage.py runserver终端