框架安装 pip install django 创建项目 django-admin startproject 项目名称 启动项目 普通启动项目 python manage.py runserver 启动项目指定ip python manage.py runserver 地址ip:端口port