X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8495246162e34c6213633cfdc9a784c636bf75ca..967eed676fc83d15b26149047f353ac61faa8217:/src/chunks/models.py diff --git a/src/chunks/models.py b/src/chunks/models.py index 37b9f600a..a9f6e7f88 100644 --- a/src/chunks/models.py +++ b/src/chunks/models.py @@ -23,7 +23,7 @@ class Chunk(models.Model): verbose_name = _('chunk') verbose_name_plural = _('chunks') - def __unicode__(self): + def __str__(self): return self.key def save(self, *args, **kwargs): @@ -45,5 +45,5 @@ class Attachment(models.Model): ordering = ('key',) verbose_name, verbose_name_plural = _('attachment'), _('attachments') - def __unicode__(self): + def __str__(self): return self.key