PyCharm 创建 django 项目
1. 使用 PyCharm(社区版) 新建项目

2: 使用 cmd 命令 或 PyCharm的命令行,进入项目目录:E:\self\upms
3: 安装 Django
pip install django -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
4: 创建 django 项目
4.1 创建项目: pip install django -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
4.2 创建应用:
4.2.1: cmd命令: cd upms
4.2.2: python manage.py startapp api
5:设置 启动脚本


浙公网安备 33010602011771号