1 # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 from django.db import models
5 from django.utils.translation import ugettext_lazy as _
8 logger = logging.getLogger("fnp.wiki")
11 class Theme(models.Model):
12 name = models.CharField(_('name'), max_length=50, unique=True)
16 verbose_name = _('theme')
17 verbose_name_plural = _('themes')
23 return "Theme(name=%r)" % self.name