Skip to content

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…

License

Notifications You must be signed in to change notification settings

go4real/Django-Poll-App

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

시작하기

사전 준비

python== 3.5 or up and django==2.0 or up and pip3

어플리케이션 설치

터미널에서 다음을 실행
git clone https://github.com/go4real/Django-Poll-App

다음 url에서 다운로드해서 사용도 가능

https://github.com/go4real/Django-Poll-App

어플리케이션 실행에 필요한 관련 패키지 설치를 위해 프로젝트 디렉토리에서 다음을 실행

pip3 install -r requirements.txt

데이터베이스 구성을 위해 프로젝트 디렉토리에서 다음을 실행

python3 manage.py migrate

어드민 메뉴 사용에 필요한 관리자 계정 생성

python3 manage.py createsuperuser

To Create some dummy text data for your app follow the step below:

pip3 install faker
python3 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

python3 manage.py runserver

Then 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 !!!=========

About

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…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 59.6%
  • HTML 39.8%
  • CSS 0.6%