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 還沒有評估資料。