app/soc/models/survey_record.py
changeset 2588 db306bbda381
parent 2515 a3513142ae01
child 2763 80d625f78176
equal deleted inserted replaced
2587:ec7818110fd2 2588:db306bbda381
    38   Like SurveyContent, this model includes dynamic properties
    38   Like SurveyContent, this model includes dynamic properties
    39   corresponding to the fields of the survey.
    39   corresponding to the fields of the survey.
    40   """
    40   """
    41 
    41 
    42   #: The survey for which this entity is a record.
    42   #: The survey for which this entity is a record.
    43   survey = db.ReferenceProperty(Survey, collection_name="survey_records")
    43   survey = db.ReferenceProperty(
       
    44       reference_class=Survey, collection_name="survey_records")
    44 
    45 
    45   #: Date when this record was created.
    46   #: Date when this record was created.
    46   created = db.DateTimeProperty(auto_now_add=True)
    47   created = db.DateTimeProperty(auto_now_add=True)
    47 
    48 
    48   #: Date when this record was last modified.
    49   #: Date when this record was last modified.