app/soc/models/review.py
changeset 3006 e74c4d37a61a
parent 1757 0f909179ccf2
equal deleted inserted replaced
3005:fbdf957cb3a3 3006:e74c4d37a61a
    33   """
    33   """
    34 
    34 
    35   #: the score given by the reviewer
    35   #: the score given by the reviewer
    36   score = db.IntegerProperty(required=True, default=0)
    36   score = db.IntegerProperty(required=True, default=0)
    37 
    37 
       
    38   # TODO(ljvderijk): Remove this property
    38   #: An optional reference property to a reviewer so the information
    39   #: An optional reference property to a reviewer so the information
    39   #: from the Role can be used as well
    40   #: from the Role can be used as well
    40   reviewer = db.ReferenceProperty(reference_class=soc.models.role.Role,
    41   reviewer = db.ReferenceProperty(reference_class=soc.models.role.Role,
    41                                   required=False, collection_name="reviews")
    42                                   required=False, collection_name="reviews")
    42 
    43