Commits

rmoch committed c6a3d45

oops unicode

Comments (0)

Files changed (1)

notification/models.py

     recipients = models.ManyToManyField(SimpleRegistration, verbose_name=u"Abonnés")
 
     def __unicode__(self):
-        return "%s (%d abonnés)" % (self.name, self.recipients.all().count())
+        return u"%s (%d abonnés)" % (self.name, self.recipients.all().count())
 
     class Meta:
         verbose_name = u"Groupe d'abonnés"