X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b2d342589a7889a3b096e7192453d53bd28eed7d..ca336bd1f9658cf713681d1412d4153e5c4d9c93:/src/infopages/models.py diff --git a/src/infopages/models.py b/src/infopages/models.py index c9c31e7b9..8999d99bd 100644 --- a/src/infopages/models.py +++ b/src/infopages/models.py @@ -20,7 +20,7 @@ class InfoPage(models.Model): verbose_name = _('info page') verbose_name_plural = _('info pages') - def __unicode__(self): + def __str__(self): return self.title @models.permalink