pain
This commit is contained in:
parent
29e34eeac9
commit
6ef1f41bf6
2 changed files with 6 additions and 6 deletions
|
@ -54,7 +54,7 @@ class Comment(Base):
|
|||
author = relationship("User", primaryjoin="User.id==Comment.author_id")
|
||||
senttouser = relationship("User", primaryjoin="User.id==Comment.sentto", viewonly=True)
|
||||
parent_comment = relationship("Comment", remote_side=[id], viewonly=True)
|
||||
child_comments = relationship("Comment", remote_side=[parent_comment_id], viewonly=True)
|
||||
child_comments = relationship("Comment", lazy="dynamic", remote_side=[parent_comment_id], viewonly=True)
|
||||
awards = relationship("AwardRelationship", viewonly=True)
|
||||
reports = relationship("CommentFlag", viewonly=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue