代码拉取完成,页面将自动刷新
学习 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.
即可看到poll投票程序。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。