-
Notifications
You must be signed in to change notification settings - Fork 0
Iteration 2
Siratee K edited this page Oct 3, 2021
·
5 revisions
To improve the UI and UX of the application including navigation, URL Button, and question list on the poll's index page to be compatible with the new question feature that allows the poll's creator to set the end_date
to automatically stop accepting the new vote after the end_date
has been exceeded.
- Admin can now set
end_date
for the question - The question after the
end_date
won't accept the new vote. - The voting page will be restricted for the question that
end_date
has been exceeded. Any users who attempted to access the voting page will be redirected to the poll app's index page. - Use Django Message Framework to handle the error message on every page.
- The Questions on the poll's index page will now have 2 buttons. One is for going to the poll result page and the other one is for going to the poll voting page. The voting button will automatically be hidden for the question that
end_date
has been exceeded.
- All Unit testing must be passed.
- The Poll's index page must display the question that is published correctly.
- The Poll's index page must display the vote button for each question related to the
can_vote
properly. - The voting for the question that
end_date
has been exceeded must be restricted. Any attempt to access the voting page must be redirected to the poll's index page