+# -*- coding: utf-8 -*-
+# This file is part of KOED-Quiz, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.db import models
from django.contrib.sites.models import Site
from django.utils.translation import ugettext_lazy as _
class Quiz(Site):
+ description = models.TextField()
+ footer = models.TextField(null=True, blank=True)
+
class Meta:
- proxy=True
verbose_name = _('quiz')
verbose_name_plural = _('quizzes')
class Meta:
verbose_name = _('result')
verbose_name_plural = _('results')
+ ordering = ['quiz', 'title']
def __unicode__(self):
return self.title