changeset 104 | d1bdd5d6c1a6 |
parent 103 | 3a4c8fccb9f3 |
child 108 | 131554cc3434 |
--- a/taskapp/views/user.py Thu Feb 25 20:13:59 2010 +0530 +++ b/taskapp/views/user.py Thu Feb 25 23:49:38 2010 +0530 @@ -148,6 +148,9 @@ reqs = user.request_sent_to.filter(is_replied=False).order_by('creation_date') req_obj = reqs[int(rid)] reply = True if reply == "yes" else False + req_obj.remarks = request.POST.get('remarks', "") + req_obj.save() + reply_to_request(req_obj, reply, user) return show_msg("Your reply has been processed", browse_request_url, "view other requests")