Added name property to GradingSurveyGroup.
authorLennard de Rijk <ljvderijk@gmail.com>
Thu, 09 Jul 2009 11:47:31 +0200
changeset 2579 0d4ffe73a019
parent 2578 ad5c242ac0e2
child 2580 cd3b42f52b21
Added name property to GradingSurveyGroup. This can be used (by humans :D) to easily identify different instances of this model.
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,