# 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):
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