X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2f9c60b76f3ab4e69d794a6bb14388a81ff29eb7..44d59fd5e6145784aea778de40a70367691ef13c:/apps/wiki/models.py 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 -