X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b2d342589a7889a3b096e7192453d53bd28eed7d..154870f0416b6b387637d6035c96321410512e95:/src/libraries/models.py diff --git a/src/libraries/models.py b/src/libraries/models.py index 588620f1e..0ad058610 100644 --- a/src/libraries/models.py +++ b/src/libraries/models.py @@ -16,7 +16,7 @@ class Catalog(models.Model): verbose_name = _('catalog') verbose_name_plural = _('catalogs') - def __unicode__(self): + def __str__(self): return self.name @models.permalink @@ -37,7 +37,7 @@ class Library(models.Model): verbose_name = _('library') verbose_name_plural = _('libraries') - def __unicode__(self): + def __str__(self): return self.name @models.permalink