yolo
This commit is contained in:
parent
ed722b5ffe
commit
af774abad1
11 changed files with 39 additions and 39 deletions
|
@ -162,7 +162,7 @@ class Comment(Base):
|
|||
|
||||
if self.level == 1: return self.post
|
||||
|
||||
else: return g.db.query(Comment).get(self.parent_comment_id)
|
||||
else: return g.db.query(Comment).options(lazyload('*')).get(self.parent_comment_id)
|
||||
|
||||
@property
|
||||
@lazy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue