django-template:新项目的基本 django 骨架

时间:2021-06-27 20:21:24
【文件属性】:
文件名称:django-template:新项目的基本 django 骨架
文件大小:11KB
文件格式:ZIP
更新时间:2021-06-27 20:21:24
Python 安装: $ django-admin.py startproject --template=https://github.com/vasyabigi/django-template/zipball/master --extension py,md,gitignore,example woot 其中woot是您要创建的项目的名称。 更新 README.md: 更改存储库链接; 使git add {{ project_name }}/logs/.gitdirectory {{ project_name }}/public/.gitdirectory {{ project_name }}/static/.gitdirectory -f ; 删除这句话上面的所有内容; {{ 项目名 }} 安装 创造环境 为项目创建一个虚拟的python环境。 如果您不使用 virtualenv
【文件预览】:
django-template-master
----reqs()
--------prod.txt(14B)
--------dev.txt(67B)
--------common.txt(21B)
----manage.py(264B)
----.gitignore(172B)
----project_name()
--------logs()
--------templates()
--------static()
--------wsgi.py(402B)
--------__init__.py(0B)
--------settings()
--------public()
--------urls.py(254B)
--------apps()
----README.md(1KB)

网友评论