# Django 投票程序
#### 介绍
学习 Django 的投票演示代码
#### 项目地址
github:https://github.com/rumosky/DjangoPolls
Gitee:https://gitee.com/rumosky/DjangoPolls
#### 使用
安装好 Python 和 Django,执行:`python manage.py runserver`
你会看到如下内容:
```
Performing system checks...
System check identified no issues (0 silenced).
You have unapplied migrations; your app may not work properly until they are applied.
Run 'python manage.py migrate' to apply them.
六月 26, 2020 - 15:50:53
Django version 3.0, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
```
打开http://127.0.0.1:8000/
即可看到poll投票程序。
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
DjangoPolls-master.zip (35个子文件)
DjangoPolls-master
db.sqlite3 140KB
LICENSE 34KB
manage.py 626B
polls
__init__.py 0B
tests.py 775B
admin.py 584B
migrations
__init__.py 0B
0001_initial.py 1KB
__pycache__
0001_initial.cpython-38.pyc 998B
__init__.cpython-38.pyc 145B
apps.py 85B
models.py 834B
templates
polls
admin
base_site.html 123B
detail.html 651B
index.html 513B
results.html 427B
urls.py 478B
__pycache__
models.cpython-38.pyc 1KB
urls.cpython-38.pyc 612B
admin.cpython-38.pyc 889B
apps.cpython-38.pyc 352B
__init__.cpython-38.pyc 134B
views.cpython-38.pyc 2KB
static
polls
style.css 94B
images
background.gif 373KB
views.py 2KB
README.md 782B
mysite
__init__.py 0B
wsgi.py 389B
urls.py 800B
settings.py 3KB
__pycache__
wsgi.cpython-38.pyc 536B
urls.cpython-38.pyc 963B
settings.cpython-38.pyc 2KB
__init__.cpython-38.pyc 135B
共 35 条
- 1
资源评论
程序员柳
- 粉丝: 6507
- 资源: 1407
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功