X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b2d342589a7889a3b096e7192453d53bd28eed7d..25be50678152cb1787f6d9d0f15c0cc4345c3216:/src/infopages/models.py?ds=inline 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