Annoy in book text too.
[wolnelektury.git] / src / catalogue / models / source.py
index bcf5254..f36850d 100644 (file)
@@ -17,7 +17,7 @@ class Source(models.Model):
         verbose_name_plural = _('sources')
         app_label = 'catalogue'
 
         verbose_name_plural = _('sources')
         app_label = 'catalogue'
 
-    def __unicode__(self):
+    def __str__(self):
         return self.netloc
 
     def save(self, *args, **kwargs):
         return self.netloc
 
     def save(self, *args, **kwargs):