app/soc/models/group_app.py
changeset 881 1ad41c8d05e9
parent 795 8914adaa93a7
child 892 c3cdb581ffd2
--- a/app/soc/models/group_app.py	Wed Jan 21 18:25:37 2009 +0000
+++ b/app/soc/models/group_app.py	Wed Jan 21 18:50:22 2009 +0000
@@ -110,3 +110,12 @@
   # handled and turned into a group
   application_completed = db.BooleanProperty(required=True, default=False,
       verbose_name=ugettext_lazy('Has been completed'))
+  
+  # timestamp to record the time on which this application has been created
+  created_on = db.DateTimeProperty(required=True, auto_now_add=True,
+      verbose_name=ugettext_lazy('Created on'))
+  
+  # timestamp to record the time on which this application has been last modified
+  # also changes when the review properties change
+  last_modified_on = db.DateTimeProperty(required=True, auto_now=True,
+      verbose_name=ugettext_lazy('Last modified on'))