app/soc/models/grading_project_survey_record.py
changeset 2493 0aabd2d76606
parent 2446 0cf8f034f52d
child 2495 0113c2de89d3
--- a/app/soc/models/grading_project_survey_record.py	Thu Jul 02 17:08:10 2009 +0200
+++ b/app/soc/models/grading_project_survey_record.py	Thu Jul 02 17:47:24 2009 +0200
@@ -39,14 +39,5 @@
   Student's) one by a project.
   """
 
-  #: The survey for which this entity is a record.
-  grading_survey = db.ReferenceProperty(GradingProjectSurvey,
-                                collection_name="grading_survey_records")
-
   #: Required grade given to the project that this survey is about.
   grade = db.BooleanProperty(required=True)
-
-  def getSurvey(self):
-    """Returns the GradingProjectSurvey that belongs to this record.
-    """
-    return self.grading_survey