app/soc/models/project_survey_record.py
changeset 2588 db306bbda381
parent 2493 0aabd2d76606
child 2591 6c57c482f913
equal deleted inserted replaced
2587:ec7818110fd2 2588:db306bbda381
    34   """Record linked to a Project, enabling to store which Projects had their
    34   """Record linked to a Project, enabling to store which Projects had their
    35   Survey done.
    35   Survey done.
    36   """
    36   """
    37 
    37 
    38   #: Reference to the Project that this record belongs to.
    38   #: Reference to the Project that this record belongs to.
    39   project = db.ReferenceProperty(soc.models.student_project.StudentProject,
    39   project = db.ReferenceProperty(
    40                                  required=True,
    40       reference_class=soc.models.student_project.StudentProject,
    41                                  collection_name="survey_records")
    41       required=True, collection_name="survey_records")