建立虚拟空间
python -m venv 虚拟空间名字
建立虚拟空间cd 虚拟空间目录
cd Scripts
activate.bat
进入虚拟空间在虚拟空间下运行
django-admin startproject 项目名
建立一个项目python manage.py runserver
运行服务器python manage.py startapp app名字
创建一个app
建立虚拟空间
python -m venv 虚拟空间名字
建立虚拟空间
cd 虚拟空间目录
cd Scripts
activate.bat
进入虚拟空间
在虚拟空间下运行 django-admin startproject 项目名
建立一个项目
python manage.py runserver
运行服务器
python manage.py startapp app名字
创建一个app