X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..154870f0416b6b387637d6035c96321410512e95:/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