app/soc/models/survey_record.py
changeset 2588 db306bbda381
parent 2515 a3513142ae01
child 2763 80d625f78176
--- a/app/soc/models/survey_record.py	Tue Jul 07 20:17:23 2009 -0500
+++ b/app/soc/models/survey_record.py	Sat Jul 11 13:56:55 2009 +0200
@@ -40,7 +40,8 @@
   """
 
   #: The survey for which this entity is a record.
-  survey = db.ReferenceProperty(Survey, collection_name="survey_records")
+  survey = db.ReferenceProperty(
+      reference_class=Survey, collection_name="survey_records")
 
   #: Date when this record was created.
   created = db.DateTimeProperty(auto_now_add=True)