I want to update the todo list but when I try to update it add new todo task

前端 未结 0 994
伪装坚强ぢ
伪装坚强ぢ 2021-01-13 11:31

The screenshot of my cide

def updateTask(request, pk): task = Task.objects.get(id=pk)

form = TaskForm(instance=task)
if request.method == "POST&qu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题