X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..30423c0a921a37cc2213e83309d5abe04399ba15:/src/cover/models.py diff --git a/src/cover/models.py b/src/cover/models.py index d83dad39..ea69f654 100644 --- a/src/cover/models.py +++ b/src/cover/models.py @@ -34,7 +34,7 @@ class Image(models.Model): verbose_name = _('cover image') verbose_name_plural = _('cover images') - def __unicode__(self): + def __str__(self): return u"%s - %s" % (self.author, self.title) @models.permalink