Fixed: Show "undocumented" for -2 in application pdf.
This commit is contained in:
parent
6c008488cf
commit
bfadbce541
@ -416,7 +416,7 @@ class Application(models.Model):
|
|||||||
for poll in self.poll_set.all():
|
for poll in self.poll_set.all():
|
||||||
for option in poll.options:
|
for option in poll.options:
|
||||||
if poll.votesinvalid != None and poll.votescast != None:
|
if poll.votesinvalid != None and poll.votescast != None:
|
||||||
results.append([option.yes, option.no, option.undesided, poll.votesinvalid, poll.votescast])
|
results.append([option.yes, option.no, option.undesided, poll.votesinvalidf, poll.votescastf])
|
||||||
return results
|
return results
|
||||||
|
|
||||||
@models.permalink
|
@models.permalink
|
||||||
|
Loading…
Reference in New Issue
Block a user