This commit is contained in:
Aevann1 2021-12-17 19:55:11 +02:00
parent 1f32f3a35d
commit 2984e15fba
9 changed files with 124 additions and 30 deletions

View file

@ -53,6 +53,7 @@ class Comment(Base):
parent_comment = relationship("Comment", remote_side=[id], viewonly=True)
child_comments = relationship("Comment", remote_side=[parent_comment_id], viewonly=True)
awards = relationship("AwardRelationship", viewonly=True)
reports = relationship("CommentFlag", viewonly=True)
def __init__(self, *args, **kwargs):