taskapp/events/task.py
changeset 125 d3cfceb8e120
parent 124 6d92b7cd2a37
child 126 e5377fdaf110
--- a/taskapp/events/task.py	Fri Feb 26 22:45:19 2010 +0530
+++ b/taskapp/events/task.py	Fri Feb 26 23:22:23 2010 +0530
@@ -25,7 +25,7 @@
         task.comment_set.update(is_deleted=True)
         task.comment_set.update(deleted_by=task.created_by)
 
-    task.published_datetime = datetime.datetime.now()
+    task.published_datetime = datetime.now()
 
     task.save()
     return task