summaryrefslogtreecommitdiff
path: root/testapp/exam/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/exam/models.py')
-rw-r--r--testapp/exam/models.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/testapp/exam/models.py b/testapp/exam/models.py
index 689e931..da45e7d 100644
--- a/testapp/exam/models.py
+++ b/testapp/exam/models.py
@@ -44,6 +44,8 @@ class Question(models.Model):
# Is this question active or not. If it is inactive it will not be used
# when creating a QuestionPaper.
active = models.BooleanField(default=True)
+
+ #Tags for the Question.
tags = TaggableManager()
def __unicode__(self):
@@ -91,6 +93,10 @@ class Quiz(models.Model):
# Description of quiz.
description = models.CharField(max_length=256)
+
+ #Tags for the Quiz.
+ tags = TaggableManager()
+
class Meta:
verbose_name_plural = "Quizzes"