changeset 124 | 6d92b7cd2a37 |
parent 120 | aad4e6065d85 |
child 125 | d3cfceb8e120 |
--- a/taskapp/events/task.py Fri Feb 26 18:34:30 2010 +0530 +++ b/taskapp/events/task.py Fri Feb 26 22:45:19 2010 +0530 @@ -25,6 +25,8 @@ task.comment_set.update(is_deleted=True) task.comment_set.update(deleted_by=task.created_by) + task.published_datetime = datetime.datetime.now() + task.save() return task @@ -125,6 +127,7 @@ task.created_by = created_by task.credits = credits task.creation_datetime = datetime.now() + task.published_datetime = datetime.now() task.save() return task