Iteration 2 Plan - Hamiz5401/ku-polls GitHub Wiki

Goal

A continuation of iteration1 but with this iteration the user can only vote in a set period of time because the end date of each question will now be added to the application and also in this iteration the navigation the app will be improve.

Features

  • An end date of each polls.
  • Add can_vote and is_publish into Question class.
  • Redirect when voting is not allow and when user enter the base url.
  • User can see the vote without voting
  • Externalize configuration data.

Tasks

All tasks should be recorded on Project Board for Iteration 2.

  • Add end_date function.
  • Add is_publish and can_vote in Question class
  • Change code in Question class to use is_publish and can_vote
  • Create unit test for is_publish and can_vote functions
  • Redirect when voting is not allow.
  • Redirect when entering the base url.
  • Change code so that user can see the vote without voting
  • Improve navigation between pages.
  • Improve the appearance of voting results page.
  • Externalize configuration data.
  • Add correctly-formatted docstring comments to the models and views.

Evaluation Critiria

  • Each polls will disappear after the end date.
  • User can only vote when can_vote is true.
  • Question will only appear according to is_publish function.
  • Correct redirection of each page.
  • All navigation links work correctly.
  • Some important data is externalize.
  • Improve the appearance of voting results page(Remove bullets, the votes align in a column and omit the word “votes” after the count).
  • correctly-formatted docstring comments
  • All code committed to Github on iteration2 branch and merged into master.

Retrospective Summary