equal
deleted
inserted
replaced
40 reviews) a 1:many relationship between a Work and the zero or more |
40 reviews) a 1:many relationship between a Work and the zero or more |
41 Reviews of that Work. This relation is implemented as the 'reviews' |
41 Reviews of that Work. This relation is implemented as the 'reviews' |
42 back-reference Query of the Review model 'reviewed' reference. |
42 back-reference Query of the Review model 'reviewed' reference. |
43 """ |
43 """ |
44 |
44 |
45 key_fields = ['partial_path', 'link_name'] |
45 KEY_FIELDS = ['partial_path', 'link_name'] |
46 |
46 |
47 #: Required 1:1 relationship indicating the User who initially authored the |
47 #: Required 1:1 relationship indicating the User who initially authored the |
48 #: Work (this relationship is needed to keep track of lifetime document |
48 #: Work (this relationship is needed to keep track of lifetime document |
49 #: creation limits, used to prevent spamming, etc.). |
49 #: creation limits, used to prevent spamming, etc.). |
50 author = db.ReferenceProperty(reference_class=soc.models.user.User, |
50 author = db.ReferenceProperty(reference_class=soc.models.user.User, |