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.
--- 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.