一、创建项目 django-admin startproject myproject: 二、 新建app python manage.py startapp myapp: 三、基本配置 1. 新建templates和static目录: <