Skip to content
Browse files

Fixed encoding error in Member.__unicode__

  • Loading branch information...
1 parent 3c4940a commit b8a1fc5620e39fbda5ac69ea4e1387d161207590 @anttihirvonen committed Sep 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 dotmembership/apps/members/models.py
View
2 dotmembership/apps/members/models.py
@@ -69,7 +69,7 @@ def send_data_and_edit_link(self):
send_mail(subject, body, settings.DEFAULT_FROM_EMAIL, [self.email])
def __unicode__(self):
- return "{0}, {1} ({2})".format(self.last_name, self.first_name, self.id)
+ return u"{0}, {1} ({2})".format(self.last_name, self.first_name, self.id)
class Meta:
verbose_name = _(u"jäsen")

0 comments on commit b8a1fc5

Please sign in to comment.
Something went wrong with that request. Please try again.