-
Notifications
You must be signed in to change notification settings - Fork 0
Iteration 3 Plan
Pakorn Laohakanniyom edited this page Sep 20, 2022
·
6 revisions
Add user authentication feature and Change the app from "anyone can vote" to "1 vote per 1 authorized user."
- visitor can login and logout.
- Only an authenticated user can submit a vote.
- Anyone can view the list of polls and poll results.
- A user can change vote on a poll during the voting period.
- If a user selects a poll they already voted for, the list of choices shows which choice they previously selected.
- Add a link to “Login” or “Logout” to the polls index page.
- Users can login and logout.
- Logged-in users can vote, but allowed only 1 vote per poll. User can change their vote on a poll.
All tasks should be recorded on Task Board for Iteration 3.
- authenticated user can submit a vote
- add login/logout
- add user demo
- add user can modify vote feature
- Write unit tests to test new features.
- Application can be logged in and logged out.
- Only authenticated users can vote and change their votes.
- Anyone can view the list of polls and poll results.
- Application passes all unit tests.
successfully implemented with all the requirements. Users can login and logout. Authenticated users can vote only 1 vote per poll and they can change they choice after submit.
I have problem with radio button and about result of the vote during development.
I have learn more a lot of Django and HTML
- Study more about HTML