Fixed the _str_ method

remotes/origin/enhancement/email-actions
David Barragán Merino 2013-11-13 01:13:47 +01:00
parent cf5ef4557a
commit 470031a363
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class RolePoints(models.Model):
("view_rolepoints", "Can view role points"),
)
def __str__(self):
return "{}: {}".format(role.name, point.name)
return "{}: {}".format(self.role.name, self.points.name)
class UserStory(WatchedMixin):