M2kishore / GDC-Level-4-Milestone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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,

Specification

You are asked to build the same project we worked on in the level and add two new features to it.

  1. A new route to mark tasks as completed. GET /complete_task/<Task Index>
  2. 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.

Boilerplate code

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

Testing

Run the following command to test your application.

python manage.py test

Submission

Once all the tests are passing, push the code to a GitHub repository and submit the link to the repo.

About


Languages

Language:Python 94.0%Language:HTML 6.0%