X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c2e8051452fa55db096553cbe5ae622fc363d481..297e48d3c1b26b83366b27cc4ba960c8471b634b:/src/catalogue/models/source.py diff --git a/src/catalogue/models/source.py b/src/catalogue/models/source.py index 08cac0cce..ee024e0e6 100644 --- a/src/catalogue/models/source.py +++ b/src/catalogue/models/source.py @@ -2,7 +2,7 @@ # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # from django.db import models -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ class Source(models.Model): @@ -25,7 +25,7 @@ class Source(models.Model): str(self.pk) old_self = type(self).objects.get(pk=self) except type(self).DoesNotExist: - old_name = u'' + old_name = '' old_netloc = self.netloc else: old_name = old_self.name