X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4c48c47d0b84e516114c16ee191359166e93a51c..92adaf4060fa5f65bfd8022ec03ebe94311f4552:/apps/wiki/models.py?ds=sidebyside diff --git a/apps/wiki/models.py b/apps/wiki/models.py index c539908d..e69de29b 100644 --- a/apps/wiki/models.py +++ b/apps/wiki/models.py @@ -1,26 +0,0 @@ -# -*- 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 _ - -import logging -logger = logging.getLogger("fnp.wiki") - - -class Theme(models.Model): - name = models.CharField(_('name'), max_length=50, unique=True) - - class Meta: - ordering = ('name',) - verbose_name = _('theme') - verbose_name_plural = _('themes') - - def __unicode__(self): - return self.name - - def __repr__(self): - return "Theme(name=%r)" % self.name -