acmpesuecc / acmpesuecc/Todo_List_In_Django

Incomplete delete function in views.py

未关闭
#7 3 条评论 0 个 reaction 已指派 1 人 已被 @RAMYA-CP 认领 在 GitHub 查看
BOUNTY: 25 bug
主要语言
Python
星标
1
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

This function is used to delete a todo from the todolist.
Steps to complete this function:
1. Add id parameter, that is, a parameter in the function to get the id of the todo object to delete.
2. Accept request only if it is a post request.
3. Delete todo Object with given id from DB.
4. Redirect to the '/todo' page

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。