学习 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投票程序。