app/soc/models/mentor.py
changeset 2588 db306bbda381
parent 1989 3fa3384b5378
equal deleted inserted replaced
2587:ec7818110fd2 2588:db306bbda381
    34   """Organization Mentor.
    34   """Organization Mentor.
    35   """
    35   """
    36 
    36 
    37   #: A required property that defines the program that this mentor works for
    37   #: A required property that defines the program that this mentor works for
    38   program = db.ReferenceProperty(reference_class=soc.models.program.Program,
    38   program = db.ReferenceProperty(reference_class=soc.models.program.Program,
    39                               required=True, collection_name='mentors')
    39                                  required=True, collection_name='mentors')
    40 
    40 
    41   can_we_contact_you = db.BooleanProperty(verbose_name=ugettext(
    41   can_we_contact_you = db.BooleanProperty(verbose_name=ugettext(
    42       'Can we contact you?'))
    42       'Can we contact you?'))
    43   can_we_contact_you.help_text = ugettext(
    43   can_we_contact_you.help_text = ugettext(
    44       'Please check here if you would not mind being contacted by the Program'
    44       'Please check here if you would not mind being contacted by the Program'