# HG changeset patch # User Lennard de Rijk # Date 1247132851 -7200 # Node ID 0d4ffe73a01947b9444a1c8c09a61957017a4f94 # Parent ad5c242ac0e204e092b6763f06614118a224b77f Added name property to GradingSurveyGroup. This can be used (by humans :D) to easily identify different instances of this model. diff -r ad5c242ac0e2 -r 0d4ffe73a019 app/soc/models/grading_survey_group.py --- a/app/soc/models/grading_survey_group.py Thu Jul 09 11:00:17 2009 +0200 +++ b/app/soc/models/grading_survey_group.py Thu Jul 09 11:47:31 2009 +0200 @@ -50,6 +50,10 @@ course only if they are filled in. """ + #: Name to give to this group for easy human-readable identification. + name = db.StringProperty( + required=True, verbose_name=ugettext('Survey Group Name')) + #: GradingProjectSurvey which belongs to this group. grading_survey = db.ReferenceProperty( GradingProjectSurvey, required=True,