Skip to content

Iteration 3

Siratee K edited this page Oct 31, 2021 · 5 revisions

Goal

To add the User Authentication system and refine the voting system that counts the vote from the same user as 1 (1 User can vote only 1 choice at a time)

Features

  1. Users can now vote only 1 choice per question at a time (By refining the Choice Model and adding the Vote Model)
  2. Add User Authentication System (By using Django provided authentication system)
  3. The logging system.

Acceptance Criteria

  1. All Unit testing must be passed.
  2. There must be a test for the new voting system.
  3. Vote must be restricted if the user tries to vote while not signing in.
  4. If the user has selected the choice, The selected choice should be automatically selected the next time they enter the voting page again.
  5. There must be a log showing the information about login/logout including his/her IP address.
  6. There must be a log showing the information about who voted for which choice in which question.
Clone this wiki locally