acmpesuecc / acmpesuecc/Todo_List_In_Django

UI Fix: Priority lists do not filter todos on priority

未關閉
#13 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Bounty: 50 bug enhancement
主要語言
Python
星號
1
分支
4
PR 合併指標
30 天內沒有已合併 PR

描述

In the second, third and fourth forms in the index.html file, all todos are listed indiscriminately without the priority of the todo objects taken into account.
Steps to solve this issue:
1. Filter todos according to their priority.
2. In the form, Add action and method attributes to the below form. The form makes a post request to delete/id to delete the todo from the Database.
3. Add csrf_token for each form for security.
4. Add title, content, priority, timestamp and a submit button to each of the priority list forms.

貢獻指南

開啟貢獻指南

研究方向

Start by inspecting the second, third, and fourth forms in index.html, then trace how todo objects reach those forms and how the delete/id POST request is handled. Verify that each form filters by priority, includes the requested fields and CSRF token, and submits the correct deletion request.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
django, python
領域
full-stack
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。