-
Notifications
You must be signed in to change notification settings - Fork 0
Iteration 2 Plan
Thanida Chaiwongnon edited this page Sep 5, 2023
·
2 revisions
The KU polls has more functionality and quality of life features such as the home button. Sensitive data should also be externalized and the code should be tested through automatic unit tests.
- Polls has a closing date. Post-end date voting is not permitted.
- User can examine results without voting or return to the polls list screen at any time.
- Can vote and is published methods for the question have unit tests.
- If a user enters the URL of an unpublished poll, they will be informed that the poll is closed and will be directed back to the poll list.
- Unit testing should be automated.
- Put code and delicate configuration data apart.
- Poll results and detail pages should be formatted better. Collapse items into columns.
- Redirect users to the polls index and show an error message on the index page.
- Externalize some configurations in
settings.py.
- add end_date property, add can_vote method, add is_published method
- Add Unit tests
- Implement new features
- Rearrange the present template's layout to make it more attractive.
- Only votes cast between the publish date and the end date are allowed.
- The Home button appropriately takes the user back to the page with the polls list.
- Externalizing sensitive settings
- The layout is appealing, and the user interface is simple to use.
- All test should be passed.