Commit 5fbde568 authored by cynddl's avatar cynddl

Fix typo on UnDVotes.__str__

parent 19903e75
......@@ -27,7 +27,7 @@ class UnDVotes(models.Model):
verbose_name_plural = _("Votes")
def __str__(self):
return "{}:{}:{}".format(self.user, self.content_object, self.score)
return "{}:{}:{}".format(self.username, self.content_object, self.score)
class UnDVotedMixin(models.Model):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment