app/soc/models/student_project.py
changeset 2122 b709f9d1566a
parent 1932 08fb1074b665
child 2124 ac484d0e4304
equal deleted inserted replaced
2121:4f6344dfab28 2122:b709f9d1566a
    50   #: optional, URL which can give more information about this project
    50   #: optional, URL which can give more information about this project
    51   additional_info = db.URLProperty(required=False)
    51   additional_info = db.URLProperty(required=False)
    52   additional_info.help_text = ugettext(
    52   additional_info.help_text = ugettext(
    53       'Link to a resource containing more information about this project.')
    53       'Link to a resource containing more information about this project.')
    54 
    54 
       
    55   #: Optional field storing a feed URL; displayed publicly.
       
    56   feed_url = db.LinkProperty(
       
    57       verbose_name=ugettext('Project Feed URL'))
       
    58   feed_url.help_text = ugettext(
       
    59       'The URL should be a valid ATOM or RSS feed. '
       
    60       'Feed entries are shown on the home page.')
       
    61 
    55   #: A property containing which mentor has been assigned to this project.
    62   #: A property containing which mentor has been assigned to this project.
    56   #: A project must have a mentor at all times
    63   #: A project must have a mentor at all times
    57   mentor = db.ReferenceProperty(reference_class=soc.models.mentor.Mentor,
    64   mentor = db.ReferenceProperty(reference_class=soc.models.mentor.Mentor,
    58                                 required=True,
    65                                 required=True,
    59                                 collection_name='student_projects')
    66                                 collection_name='student_projects')