X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..448176eb618555f2bdc357e256961751a917bc33:/src/catalogue/models/source.py 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):