changeset 112 | eadff01e395e |
parent 111 | c272d4c601cd |
child 113 | ea962d5fe99e |
--- a/taskapp/events/task.py Fri Feb 26 02:52:32 2010 +0530 +++ b/taskapp/events/task.py Fri Feb 26 11:29:25 2010 +0530 @@ -17,6 +17,10 @@ task.mentors.clear() task.mentors.add(task.created_by) + + task.comment_set.update(is_deleted=True) + task.comment_set.update(deleted_by=task.created_by) + task.save() return task