Commit e290684b0e97a0cce496004a409a300fb3920bb6
1 parent
048b4ed7
Exists in
master
and in
39 other branches
Fixing typo
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/super_archives/models.py
@@ -229,7 +229,7 @@ class Vote(models.Model): | @@ -229,7 +229,7 @@ class Vote(models.Model): | ||
229 | unique_together = ('user', 'message') | 229 | unique_together = ('user', 'message') |
230 | 230 | ||
231 | def __unicode__(self): | 231 | def __unicode__(self): |
232 | - return 'Vote on %s by %s' % (self.Message.id, | 232 | + return 'Vote on %s by %s' % (self.message.id, |
233 | self.user.username) | 233 | self.user.username) |
234 | 234 | ||
235 | 235 |