1 # -*- coding: utf-8 -*-
3 # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
4 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
6 from django.db import models
7 from django.utils.translation import ugettext_lazy as _
10 logger = logging.getLogger("fnp.wiki")
13 class Theme(models.Model):
14 name = models.CharField(_('name'), max_length=50, unique=True)
18 verbose_name = _('theme')
19 verbose_name_plural = _('themes')
25 return "Theme(name=%r)" % self.name