Fixed the postive typo

This commit is contained in:
Taizo 'Tsa6' Simpson 2017-09-25 15:49:15 -04:00
parent f92a4e95bf
commit 18e8dbefd2

View File

@ -403,8 +403,8 @@ class DiscussionVote(TimestampedModel):
related_name='votes', related_name='votes',
help_text='The board this vote was cast on' help_text='The board this vote was cast on'
) )
postive = models.BooleanField( positive = models.BooleanField(
help_text='If true, the vote is an upvote. Otherwise, it is a downvote. Neutral votes are not recorded' help_text='If true, the vote is an upvote. Otherwise, it is a downvote. Neutral votes are not recorded'
) )
def __str__(self): def __str__(self):
return "%s %s %s"%(self.user, '\U0001f592' if self.postive else '\U0001f44e', self.board.title) return "%s %s %s"%(self.user, '\U0001f592' if self.positive else '\U0001f44e', self.board.title)