fds
This commit is contained in:
parent
5624bd21cb
commit
6d1bc0f2eb
25 changed files with 93 additions and 86 deletions
|
@ -90,6 +90,12 @@ class Comment(Base):
|
|||
if option.poll_voted(v): return True
|
||||
return False
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def controversial(self):
|
||||
if self.downvotes > 5 and 0.25 < self.upvotes / self.downvotes < 4: return True
|
||||
return False
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def created_datetime(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue