# HG changeset patch # User Lennard de Rijk # Date 1247482085 -7200 # Node ID 99239a6d9098ab9d8873c5ada0aed3a5286fc90f # Parent 0f25d9d2755664c113919e911bda8bd9e6a60e0d Made the locked property non-required. This makes it easier to generate a Form that can properly deal with GradingRecords. Since required boolean properties can only be set to true by such an automatically generated form. diff -r 0f25d9d27556 -r 99239a6d9098 app/soc/models/grading_record.py --- a/app/soc/models/grading_record.py Mon Jul 13 12:46:54 2009 +0200 +++ b/app/soc/models/grading_record.py Mon Jul 13 12:48:05 2009 +0200 @@ -91,7 +91,7 @@ #: Boolean that states if the grade_decision property has been locked #: This is to prevent an automatic update from a GradingSurveyGroup to #: overwrite the decision made by for example a Program Administrator. - locked = db.BooleanProperty(required=True, default=False, + locked = db.BooleanProperty(required=False, default=False, verbose_name=ugettext('Grade Decision locked')) #: Property containing the date that this GradingRecord was created.