Set the last_modified_on date to last change
authorSverre Rabbelier <srabbelier@gmail.com>
Mon, 20 Apr 2009 22:52:21 +0000
changeset 2263 823fdb4e1781
parent 2262 5b0576dcc107
child 2264 c8697d928065
Set the last_modified_on date to last change Patch by: Sverre Rabbelier
app/soc/models/job.py
--- a/app/soc/models/job.py	Mon Apr 20 22:52:05 2009 +0000
+++ b/app/soc/models/job.py	Mon Apr 20 22:52:21 2009 +0000
@@ -49,7 +49,7 @@
       choices=['waiting', 'started', 'finished', 'aborted'])
 
   #: the date this job was last modified on
-  last_modified_on = db.DateTimeProperty(auto_now_add=True)
+  last_modified_on = db.DateTimeProperty(auto_now=True)
 
   #: the amount of times this job raised an Exception (other than a
   #: DeadlineExceededError).