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 摘要。