X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b2d342589a7889a3b096e7192453d53bd28eed7d..998a1e2aeaea0c5361e526365d1e94d7eaa9d4e8:/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