Fixed GradingRecord and GradingSurveyRecord Logic to load the correct Model.
--- a/app/soc/logic/models/grading_record.py Fri Jul 10 11:39:41 2009 +0200
+++ b/app/soc/logic/models/grading_record.py Fri Jul 10 11:59:00 2009 +0200
@@ -31,7 +31,7 @@
"""Logic methods for the GradingRecord model.
"""
- def __init__(self, model=soc.models.grading_record,
+ def __init__(self, model=soc.models.grading_record.GradingRecord,
base_model=None, scope_logic=None):
"""Defines the name, key_name and model for this entity.
"""
--- a/app/soc/logic/models/grading_survey_group.py Fri Jul 10 11:39:41 2009 +0200
+++ b/app/soc/logic/models/grading_survey_group.py Fri Jul 10 11:59:00 2009 +0200
@@ -32,7 +32,7 @@
"""Logic methods for the GradingSurveyGroup model.
"""
- def __init__(self, model=soc.models.grading_survey_group,
+ def __init__(self, model=soc.models.grading_survey_group.GradingSurveyGroup,
base_model=None, scope_logic=program_logic):
"""Defines the name, key_name and model for this entity.
"""