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.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
python== 3.5 or up and django==2.0 or up
open terminal and type
git clone https://github.com/devmahmud/Django-poll-app.git
https://github.com/devmahmud/Django-poll-app.git
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
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
python manage.py runserver
Then go to http://127.0.0.1:8000 in your browser
Thank you for browsing this repo. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch
- Commit your Changes
- Push to the Branch
- Open a Pull Request