acmpesuecc / acmpesuecc/Todo_List_In_Django
Incomplete delete function in views.py
未关闭
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 还没有评估数据。