-# -*- 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")
verbose_name = _('theme')
verbose_name_plural = _('themes')
- def __unicode__(self):
+ def __str__(self):
return self.name
def __repr__(self):