app/soc/models/survey.py
changeset 2588 db306bbda381
parent 2525 7df431ddcfd3
child 2763 80d625f78176
--- a/app/soc/models/survey.py	Tue Jul 07 20:17:23 2009 -0500
+++ b/app/soc/models/survey.py	Sat Jul 11 13:56:55 2009 +0200
@@ -156,5 +156,5 @@
       ' cannot be taken.')
 
   #: Referenceproperty that specifies the content of this survey.
-  survey_content = db.ReferenceProperty(SurveyContent,
-                                     collection_name="survey_parent")
+  survey_content = db.ReferenceProperty(reference_class=SurveyContent,
+                                        collection_name="survey_parent")