Necessary rounding.
[wolnelektury.git] / src / libraries / models.py
index 588620f..0ad0586 100644 (file)
@@ -16,7 +16,7 @@ class Catalog(models.Model):
         verbose_name = _('catalog')\r
         verbose_name_plural = _('catalogs')\r
 \r
         verbose_name = _('catalog')\r
         verbose_name_plural = _('catalogs')\r
 \r
-    def __unicode__(self):\r
+    def __str__(self):\r
         return self.name\r
 \r
     @models.permalink\r
         return self.name\r
 \r
     @models.permalink\r
@@ -37,7 +37,7 @@ class Library(models.Model):
         verbose_name = _('library')\r
         verbose_name_plural = _('libraries')\r
 \r
         verbose_name = _('library')\r
         verbose_name_plural = _('libraries')\r
 \r
-    def __unicode__(self):\r
+    def __str__(self):\r
         return self.name\r
 \r
     @models.permalink\r
         return self.name\r
 \r
     @models.permalink\r