app/projrev/models.py
changeset 16 bed14c9685a5
parent 4 8d9da911ed7d
child 18 05b9e60e6a10
--- a/app/projrev/models.py	Fri Aug 07 03:40:08 2009 +0530
+++ b/app/projrev/models.py	Fri Aug 07 03:56:08 2009 +0530
@@ -67,6 +67,8 @@
                             choices=[('new', 'New'), ('pilot', 'Pilot'),
                                      ('invalid', 'Invalid')])
 
+  last_updated_on = models.DateTimeField(auto_now=True)
+
   @classmethod
   def getLineItem(cls, code):
     """Get the State name from its code.