app/projrev/models.py
changeset 16 bed14c9685a5
parent 4 8d9da911ed7d
child 18 05b9e60e6a10
equal deleted inserted replaced
15:8c9e6c98de82 16:bed14c9685a5
    65   # New, Revised, Funded, Pilot, DPE
    65   # New, Revised, Funded, Pilot, DPE
    66   status = models.CharField(max_length=256,
    66   status = models.CharField(max_length=256,
    67                             choices=[('new', 'New'), ('pilot', 'Pilot'),
    67                             choices=[('new', 'New'), ('pilot', 'Pilot'),
    68                                      ('invalid', 'Invalid')])
    68                                      ('invalid', 'Invalid')])
    69 
    69 
       
    70   last_updated_on = models.DateTimeField(auto_now=True)
       
    71 
    70   @classmethod
    72   @classmethod
    71   def getLineItem(cls, code):
    73   def getLineItem(cls, code):
    72     """Get the State name from its code.
    74     """Get the State name from its code.
    73     """
    75     """
    74 
    76