X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..0f2ac86f03177aebee66a3890120d9926272cf27:/src/wiki/models.py?ds=inline diff --git a/src/wiki/models.py b/src/wiki/models.py index c539908d..b3cb9d8e 100644 --- a/src/wiki/models.py +++ b/src/wiki/models.py @@ -1,10 +1,8 @@ -# -*- coding: utf-8 -*- -# # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # from django.db import models -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ import logging logger = logging.getLogger("fnp.wiki") @@ -18,7 +16,7 @@ class Theme(models.Model): verbose_name = _('theme') verbose_name_plural = _('themes') - def __unicode__(self): + def __str__(self): return self.name def __repr__(self):