ååã§ãTODOã¿ã¹ã¯ã«ç¶æ ãæããããã¨ãã§ãã¾ãããä»åº¦ã¯ããã®ç¶æ ã®è¡¨ç¤ºã¨ãç¶æ å¤åã®ãã¸ãã¯ãå®è£ ãããã¨ã«ãã¾ãã ã¾ããTODOã¿ã¹ã¯ã®ç¶æ å¤åå¦çç¨ã®ã¡ã½ãããç¨æãã¾ãã /todo/views.py def update_task_status(request): if not request.user.is_authenticated(): return render_to_response(request, "login.html") #ãã°ã¤ã³ã¦ã¼ã¶ã®ã¿ã¹ã¯ãã©ãããã§ã㯠task = Task.get(request.POST["key"]) if (task.user != request.user): return HttpResponseRedirect(reverse('todo.views.list_tasks')) task.status = int
{{#tags}}- {{label}}
{{/tags}}