概要
Django poll app is a full featured polling app. You have to register in this app to show the polls and to vote. If you already voted you can not vote again. Only the owner of a poll can add poll , edit poll, update poll, delete poll , add choice, update choice, delete choice and end a poll. If a poll is ended it can not be voted. Ended poll only shows user the final result of the poll. There is a search option for polls. Also user can filter polls by name, publish date, and by number of voted. Pagination will work even after applying filter.
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルDjango-Poll-App
Django poll app is a full featured polling app. You have to register in this app to show the polls and to vote. If you already voted you can not vote again. Only the owner of a poll can add poll , edit poll, update poll, delete poll , add choice, update choice, delete choice and end a poll. If a poll is ended it can not be voted. Ended poll only shows user the final result of the poll. There is a search option for polls. Also user can filter polls by name, publish date, and by number of voted. Pagination will work even after applying filter.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
python== 3.5 or up and django==2.0 or upInstalling
open terminal and type
git clone https://github.com/devmahmud/Django-poll-app.gitor simply download using the url below
https://github.com/devmahmud/Django-poll-app.gitTo migrate the database open terminal in project directory and type
python manage.py makemigrationspython manage.py migrateTo use admin panel you need to create superuser using this command
python manage.py createsuperuserTo Create some dummy text data for your app follow the step below:
pip install faker
python manage.py shell
import seeder
seeder.seed_all(30)
Here 30 is a number of entry. You can use it as your own
To run the program in local server use the following command
python manage.py runserverThen go to http://127.0.0.1:8000 in your browser
Project snapshot
Home page
Login Page
Registration Page
Poll List Page
Poll Add Page
Polling page
Poll Result Page
Poll Edit Page
Choice Update Delete Page
Author
Mahmudul alam
Email: [email protected]
========Thank You !!!=========
関連プロジェクトを探す
読み込み中…