67 #: "template" for the Review, containing the Questions that are |
67 #: "template" for the Review, containing the Questions that are |
68 #: anwered by the Answers associated with the Review. The |
68 #: anwered by the Answers associated with the Review. The |
69 #: back-reference in the Survey model is a Query named 'reviews' |
69 #: back-reference in the Survey model is a Query named 'reviews' |
70 #: which represents all of the Reviews that contains Answers to the |
70 #: which represents all of the Reviews that contains Answers to the |
71 #: Questions in that particular Survey. |
71 #: Questions in that particular Survey. |
72 survey = db.ReferenceProperty(reference_class=soc.models.survey.Survey, |
72 # TODO: Uncomment when Survey model is committed |
73 required=True, collection_name="reviews") |
73 #survey = db.ReferenceProperty(reference_class=soc.models.survey.Survey, |
|
74 # required=True, collection_name="reviews") |
74 |
75 |
75 #: A required many:1 relationship with a Work, where the Review |
76 #: A required many:1 relationship with a Work, where the Review |
76 #: answers are attached to the Work as a comment, evaluation, |
77 #: answers are attached to the Work as a comment, evaluation, |
77 #: review, report, acceptance, etc. Reviews are the mechanism by |
78 #: review, report, acceptance, etc. Reviews are the mechanism by |
78 #: which non-authors of the Work make annotations to it. The |
79 #: which non-authors of the Work make annotations to it. The |