一、创建项目 1.1、首先安装Django库,pip install django 1.2、在合适的位置创建一个目录,打开黑屏终端,进入上一步创建的目录 1.3、输入: django-admin startproject 项目名 1.4、目……