X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b2d342589a7889a3b096e7192453d53bd28eed7d..16358b72e70a109652609551c0ad89aec28fc58b:/src/catalogue/models/source.py?ds=sidebyside diff --git a/src/catalogue/models/source.py b/src/catalogue/models/source.py index bcf5254bb..f36850ddd 100644 --- a/src/catalogue/models/source.py +++ b/src/catalogue/models/source.py @@ -17,7 +17,7 @@ class Source(models.Model): verbose_name_plural = _('sources') app_label = 'catalogue' - def __unicode__(self): + def __str__(self): return self.netloc def save(self, *args, **kwargs):