app/soc/models/student_proposal.py
changeset 1622 1ecd37ddc145
parent 1608 ddef5428d3c9
child 1657 77832a2171af
equal deleted inserted replaced
1621:106a5a7834d0 1622:1ecd37ddc145
    69   #: A proposal can only have one mentor
    69   #: A proposal can only have one mentor
    70   mentor = db.ReferenceProperty(reference_class=soc.models.mentor.Mentor,
    70   mentor = db.ReferenceProperty(reference_class=soc.models.mentor.Mentor,
    71                               required=False, collection_name='student_proposals')
    71                               required=False, collection_name='student_proposals')
    72 
    72 
    73   #: A property containing a list of possible Mentors for this proposal
    73   #: A property containing a list of possible Mentors for this proposal
    74   possible_mentors = db.ListProperty(item_type=db.Key,
    74   possible_mentors = db.ListProperty(item_type=db.Key, default=[])
    75       default=[])
       
    76 
    75 
    77   #: the current score of this proposal, used to determine which proposals
    76   #: the current score of this proposal, used to determine which proposals
    78   #: should be assigned a project slot.
    77   #: should be assigned a project slot.
    79   score = db.IntegerProperty(required=True, default=0)
    78   score = db.IntegerProperty(required=True, default=0)
    80 
    79