X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..998a1e2aeaea0c5361e526365d1e94d7eaa9d4e8:/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