Polls-App:使用Django的简单投票应用程序-Python

时间:2021-03-31 18:42:05
【文件属性】:
文件名称:Polls-App:使用Django的简单投票应用程序-Python
文件大小:14KB
文件格式:ZIP
更新时间:2021-03-31 18:42:05
Python 投票应用 使用Django框架(Python)的简单民意调查应用程序。 先决条件 安装 。 安装最新版本的 。 运行应用程序的步骤 克隆此。 设置PostgreSQL数据库(如果需要,请更改settings.py的凭据)。 运行数据库迁移 python3 manage.py makemigrations python3 manage.py migrate 如果需要,创建新的超级用户。 python3 manage.py createsuperuser 运行开发服务器 python3 manage.py runserver
【文件预览】:
Polls-App-master
----pollApp()
--------settings.py(3KB)
--------urls.py(913B)
--------__init__.py(0B)
--------asgi.py(391B)
--------wsgi.py(391B)
----.gitignore(50B)
----README.md(701B)
----manage.py(663B)
----Procfile(26B)
----requirements.txt(539B)
----templates()
--------admin()
----polls()
--------admin.py(551B)
--------models.py(836B)
--------migrations()
--------static()
--------urls.py(346B)
--------tests.py(5KB)
--------__init__.py(0B)
--------apps.py(85B)
--------views.py(2KB)
--------templates()

网友评论