Skip to content

mhuang448/django_polls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

django_polls

Polls Web Application, vote on questions

Users will be able to vote on their favorite choices

Setup

after downloading repository go into the mysite directory from the directory you have downloaded the repository in with the command

cd mysite

if you run

ls

you should see a "manage.py" file, a "mysite" folder, a "polls" folder, a "templates" folder, and a "db.sqlite3" file

next, to start the webapp you can run

python manage.py runserver

now it will start the webapp at http://127.0.0.1:8000/

Usage

to see an index of 5 most recent questions, use extension 'polls/' (http://127.0.0.1:8000/polls/)

if you click on the question it will take you to the question detail page where you can vote on the options displayed

once you click on an option and press the "Submit" button, you will be redirected to a page that shows you the results of the quesion (how many votes each option got)

Enjoy!! :)

About

Polls Web Application, vote on questions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published