X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c123e7fce2970b9964a9864c77aef4b9bb53fd79..ce463c2534ce26e07055092cce167fe5a510aa5a:/src/social/models.py?ds=sidebyside diff --git a/src/social/models.py b/src/social/models.py index 979c0d4cd..b9417bae5 100644 --- a/src/social/models.py +++ b/src/social/models.py @@ -37,7 +37,7 @@ class Cite(models.Model): verbose_name = _('cite') verbose_name_plural = _('cites') - def __unicode__(self): + def __str__(self): return u"%s: %s…" % (self.vip, self.text[:60]) def get_absolute_url(self):