X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..e5f72228d92e58406b43c2a772737535041d28c0:/src/libraries/models.py?ds=inline 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