Learn-Django:学习Django

时间:2021-05-16 05:20:15
【文件属性】:
文件名称:Learn-Django:学习Django
文件大小:41KB
文件格式:ZIP
更新时间:2021-05-16 05:20:15
Python 学习Django 如何运行项目 下载项目或克隆存储库,解压缩文件并在项目文件夹中移动,然后键入以下命令。 运行命令“ pip install -r requirements.txt” 运行命令“ python manage.py runserver” 在DEBUG = True或DEBUG = False之间切换以显示默认/自定义404页面 调试是在settings.py中定义的
【文件预览】:
Learn-Django-master
----templates()
--------myform.html(1KB)
--------404.html(379B)
--------second.html(168B)
--------index.html(3KB)
--------myform2.html(1KB)
--------imagepage5.html(528B)
--------third.html(397B)
--------imagepage3.html(740B)
--------imagepage2.html(466B)
--------imagepage4.html(594B)
--------imagepage.html(328B)
----myfirstapp()
--------models.py(57B)
--------apps.py(95B)
--------__pycache__()
--------__init__.py(0B)
--------migrations()
--------views.py(3KB)
--------admin.py(63B)
--------tests.py(60B)
--------urls.py(980B)
--------forms.py(410B)
----myfirstproject()
--------__pycache__()
--------wsgi.py(405B)
--------__init__.py(0B)
--------settings.py(3KB)
--------asgi.py(405B)
--------urls.py(852B)
----static()
--------python.png(11KB)
--------django.png(9KB)
----db.sqlite3(0B)
----requirements.txt(58B)
----manage.py(634B)
----.gitignore(7B)
----README.md(427B)

网友评论