app/soc/models/work.py
changeset 1687 8203c805edc7
parent 1678 80411f57f31a
child 2558 ba32a4f5716b
equal deleted inserted replaced
1686:d9cc9f8ca19f 1687:8203c805edc7
    37   serving in "roles".
    37   serving in "roles".
    38 
    38 
    39     reviews)  a 1:many relationship between a Work and the zero or more
    39     reviews)  a 1:many relationship between a Work and the zero or more
    40       Reviews of that Work.  This relation is implemented as the 'reviews'
    40       Reviews of that Work.  This relation is implemented as the 'reviews'
    41       back-reference Query of the Review model 'reviewed' reference.
    41       back-reference Query of the Review model 'reviewed' reference.
    42 
       
    43     comments)  a 1:many relationship between a work and zero or more comments
       
    44       about that work.  This is implemented as the 'comments' back-reference
       
    45       of the Comment.commented reference property.
       
    46   """
    42   """
    47 
    43 
    48   #: Required 1:1 relationship indicating the User who initially authored the
    44   #: Required 1:1 relationship indicating the User who initially authored the
    49   #: Work (this relationship is needed to keep track of lifetime document
    45   #: Work (this relationship is needed to keep track of lifetime document
    50   #: creation limits, used to prevent spamming, etc.).
    46   #: creation limits, used to prevent spamming, etc.).