Skip to content

DjangoForAll/GDC-Level-5-Milestone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Id>
  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.

This milestone should be implemented with the Django ORM. the model is already present in the boilerplate code, no changes should be made to the model.

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-5-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

Also, migrate the database changes so you can use the model:

python manage.py migrate

Submission

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages