app/soc/models/project_survey_record.py
changeset 2488 69ce84f4c1da
parent 2446 0cf8f034f52d
child 2493 0aabd2d76606
equal deleted inserted replaced
2487:59d91f7a31e7 2488:69ce84f4c1da
    40   project_survey = db.ReferenceProperty(ProjectSurvey,
    40   project_survey = db.ReferenceProperty(ProjectSurvey,
    41                                 collection_name="project_survey_records")
    41                                 collection_name="project_survey_records")
    42 
    42 
    43   #: Reference to the Project that this record belongs to.
    43   #: Reference to the Project that this record belongs to.
    44   project = db.ReferenceProperty(soc.models.student_project.StudentProject,
    44   project = db.ReferenceProperty(soc.models.student_project.StudentProject,
       
    45                                  required=True,
    45                                  collection_name="survey_records")
    46                                  collection_name="survey_records")
    46 
    47 
    47   def getSurvey(self):
    48   def getSurvey(self):
    48     """Returns the ProjectSurvey that belongs to this record.
    49     """Returns the ProjectSurvey that belongs to this record.
    49     """
    50     """