Commits

Mark Lavin committed 26426bd

Mark strings as unicode. Fixes #2.

  • Participants
  • Parent commits 1a22a32

Comments (0)

Files changed (1)

committees/models.py

         ordering = ('last_name', 'first_name')
     
     def __unicode__(self):
-        return '%s %s' % (self.first_name, self.last_name,)
+        return u'%s %s' % (self.first_name, self.last_name,)
 
 
 class CommitteeType(models.Model):
         ordering = ('order', 'profile__last_name', 'profile__first_name',)
 
     def __unicode__(self):
-        position = ''
+        position = u''
         if self.position:
-            position = " (%s)" % self.position
-        return "%s%s" % (self.profile, position)
+            position = u" (%s)" % self.position
+        return u"%s%s" % (self.profile, position)