vb
This commit is contained in:
parent
5c25a6c535
commit
2aaa54df59
18 changed files with 47 additions and 47 deletions
|
@ -87,12 +87,12 @@ class Comment(Base):
|
|||
@property
|
||||
@lazy
|
||||
def options(self):
|
||||
return [x for x in self.child_comments if x.author_id == AUTOPOLLER_ID]
|
||||
return (x for x in self.child_comments if x.author_id == AUTOPOLLER_ID)
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def choices(self):
|
||||
return [x for x in self.child_comments if x.author_id == AUTOCHOICE_ID]
|
||||
return (x for x in self.child_comments if x.author_id == AUTOCHOICE_ID)
|
||||
|
||||
def total_poll_voted(self, v):
|
||||
if v:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue