A Django app to conduct web-based polls.
Project description
poll是用django开发的应用
快速上手
-
将该应用添加到django项目设置文件中的已安装app列表,如下::
INSTALLED_APPS = [ ... 'app1.apps.App1Config', ]
-
在主urls文件添加路径如下::
path('app1/', include('app1.urls')),
-
运行
python manage.py migrate
指令 创建模型和迁移到数据库 -
启动服务器,访问 http://127.0.0.1:8000/admin/ 进入管理页面 添加和修改问题
-
访问 http://127.0.0.1:8000/app1/ 查看问题
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-poll-devin-0.1.tar.gz
(545.7 kB
view hashes)