app/projrev/models.py
changeset 26 97bd3c28c957
parent 24 7257b66a6766
child 28 be65e84e7d03
equal deleted inserted replaced
25:a6a5e45f68c8 26:97bd3c28c957
   847   #: Field representing the reference to the person who
   847   #: Field representing the reference to the person who
   848   #: did the review.
   848   #: did the review.
   849   reviewer = models.ForeignKey(User, null=True)
   849   reviewer = models.ForeignKey(User, null=True)
   850 
   850 
   851   #: Field containing the date and time of review of the proposal.
   851   #: Field containing the date and time of review of the proposal.
   852   reviewed_on = models.DateTimeField(auto_now_add=True)
   852   reviewed_on = models.DateTimeField(auto_now=True)
   853 
   853 
   854   #: Field containing the review value for this attribute.
   854   #: Field containing the review value for this attribute.
   855   attribute1 = models.PositiveSmallIntegerField(
   855   attribute1 = models.PositiveSmallIntegerField(
   856       choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)])
   856       choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)])
   857   
   857