This commit is contained in:
Aevann1 2021-10-20 23:06:25 +02:00
parent f8bb7a99be
commit fd655eadec
12 changed files with 105 additions and 31 deletions

View file

@ -52,7 +52,7 @@ class Comment(Base):
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)
#awards = relationship("AwardRelationship", viewonly=True)
awards = relationship("AwardRelationship", viewonly=True)
awards = None