forked from rDrama/rDrama
fix 500 error
parent
09da483bac
commit
e40f6881d8
|
@ -59,7 +59,7 @@ class CommentOption(Base):
|
||||||
exclusive = Column(Boolean)
|
exclusive = Column(Boolean)
|
||||||
|
|
||||||
votes = relationship("CommentOptionVote")
|
votes = relationship("CommentOptionVote")
|
||||||
post = relationship("Comment", back_populates="options")
|
comment = relationship("Comment", back_populates="options")
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return f"<CommentOption(id={self.id})>"
|
return f"<CommentOption(id={self.id})>"
|
||||||
|
|
Loading…
Reference in New Issue