equal
deleted
inserted
replaced
23 |
23 |
24 if rem_comments: |
24 if rem_comments: |
25 task.comment_set.update(is_deleted=True) |
25 task.comment_set.update(is_deleted=True) |
26 task.comment_set.update(deleted_by=task.created_by) |
26 task.comment_set.update(deleted_by=task.created_by) |
27 |
27 |
28 task.published_datetime = datetime.datetime.now() |
28 task.published_datetime = datetime.now() |
29 |
29 |
30 task.save() |
30 task.save() |
31 return task |
31 return task |
32 |
32 |
33 def addSubTask(main_task, sub_task): |
33 def addSubTask(main_task, sub_task): |