fdsfsd
This commit is contained in:
parent
9494561360
commit
d504c6eb25
1 changed files with 0 additions and 4 deletions
|
@ -70,10 +70,6 @@ class AwardRelationship(Base):
|
|||
post = relationship("Submission", primaryjoin="AwardRelationship.submission_id==Submission.id", lazy="joined", viewonly=True)
|
||||
comment = relationship("Comment", primaryjoin="AwardRelationship.comment_id==Comment.id", lazy="joined", viewonly=True)
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def given(self):
|
||||
return bool(self.submission_id) or bool(self.comment_id)
|
||||
|
||||
@property
|
||||
@lazy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue