app/soc/models/project_survey_record.py
changeset 2588 db306bbda381
parent 2493 0aabd2d76606
child 2591 6c57c482f913
--- a/app/soc/models/project_survey_record.py	Tue Jul 07 20:17:23 2009 -0500
+++ b/app/soc/models/project_survey_record.py	Sat Jul 11 13:56:55 2009 +0200
@@ -36,6 +36,6 @@
   """
 
   #: Reference to the Project that this record belongs to.
-  project = db.ReferenceProperty(soc.models.student_project.StudentProject,
-                                 required=True,
-                                 collection_name="survey_records")
+  project = db.ReferenceProperty(
+      reference_class=soc.models.student_project.StudentProject,
+      required=True, collection_name="survey_records")