acmpesuecc / acmpesuecc/Todo_List_In_Django
Incomplete delete function in views.py
Aperta
BOUNTY: 25
bug
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 4
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.