app/soc/models/project_survey_record.py
changeset 2488 69ce84f4c1da
parent 2446 0cf8f034f52d
child 2493 0aabd2d76606
--- a/app/soc/models/project_survey_record.py	Thu Jul 02 15:38:33 2009 +0200
+++ b/app/soc/models/project_survey_record.py	Thu Jul 02 15:40:37 2009 +0200
@@ -42,6 +42,7 @@
 
   #: Reference to the Project that this record belongs to.
   project = db.ReferenceProperty(soc.models.student_project.StudentProject,
+                                 required=True,
                                  collection_name="survey_records")
 
   def getSurvey(self):