app/soc/models/grading_survey_group.py
changeset 2579 0d4ffe73a019
parent 2567 0162efa63bb6
child 2588 db306bbda381
equal deleted inserted replaced
2578:ad5c242ac0e2 2579:0d4ffe73a019
    48   The GradingSurveyGroup can have several GradingRecords attached to it. These
    48   The GradingSurveyGroup can have several GradingRecords attached to it. These
    49   will contain matching SurveyRecords for the surveys set in this group, of
    49   will contain matching SurveyRecords for the surveys set in this group, of
    50   course only if they are filled in.
    50   course only if they are filled in.
    51   """
    51   """
    52 
    52 
       
    53   #: Name to give to this group for easy human-readable identification.
       
    54   name = db.StringProperty(
       
    55       required=True, verbose_name=ugettext('Survey Group Name'))
       
    56 
    53   #: GradingProjectSurvey which belongs to this group.
    57   #: GradingProjectSurvey which belongs to this group.
    54   grading_survey = db.ReferenceProperty(
    58   grading_survey = db.ReferenceProperty(
    55       GradingProjectSurvey, required=True,
    59       GradingProjectSurvey, required=True,
    56       collection_name='grading_survey_groups')
    60       collection_name='grading_survey_groups')
    57 
    61