fd
This commit is contained in:
parent
57432859d4
commit
697f87ce47
1 changed files with 4 additions and 4 deletions
|
@ -59,16 +59,16 @@ class User(Base, Stndrd, Age_times):
|
||||||
"Submission",
|
"Submission",
|
||||||
lazy="dynamic",
|
lazy="dynamic",
|
||||||
primaryjoin="Submission.author_id==User.id",
|
primaryjoin="Submission.author_id==User.id",
|
||||||
backref="author_rel")
|
)
|
||||||
comments = relationship(
|
comments = relationship(
|
||||||
"Comment",
|
"Comment",
|
||||||
lazy="dynamic",
|
lazy="dynamic",
|
||||||
primaryjoin="Comment.author_id==User.id")
|
primaryjoin="Comment.author_id==User.id")
|
||||||
votes = relationship("Vote", lazy="dynamic", backref="users")
|
votes = relationship("Vote", lazy="dynamic")
|
||||||
commentvotes = relationship("CommentVote", lazy="dynamic", backref="users")
|
commentvotes = relationship("CommentVote", lazy="dynamic")
|
||||||
bio = Column(String, default="")
|
bio = Column(String, default="")
|
||||||
bio_html = Column(String, default="")
|
bio_html = Column(String, default="")
|
||||||
badges = relationship("Badge", lazy="dynamic", backref="user")
|
badges = relationship("Badge", lazy="dynamic")
|
||||||
notifications = relationship(
|
notifications = relationship(
|
||||||
"Notification",
|
"Notification",
|
||||||
lazy="dynamic")
|
lazy="dynamic")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue