In This milestone, you will be extending the functionality of the project we worked in the level.
The specification for this program is as follows,
You are asked to build the same project we worked on in the level and add two new features to it.
- A new route to mark tasks as completed.
GET /complete_task/<Task Index>
- A new route to view completed tasks.
GET /completed_tasks
Completed tasks should no longer be visible in the existing tasks view.
For the other functionality, the URL routes should be exactly the same as the ones used in the level.
For bounty points, implement another route GET /all_tasks
that renders pending and completed tasks on a single page.
You are only supposed to use in-memory variables to store data in the submission.
Note: Please make sure your URL patterns have a trailing slash to pass the tests.
Use the following repository as a starting point for this project: https://github.com/vigneshhari/GDC-Level-4-Milestone
to install the requirements for this project, run the following command in your terminal:
pip install -r requirements.txt
Run the following command to test your application.
python manage.py test
Once all the tests are passing, push the code to a GitHub repository and submit the link to the repo.