summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index b64ac77..7d4dd98 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -49,6 +49,7 @@ languages = (
("java", "Java Language"),
("scilab", "Scilab"),
("r", "R"),
+ ("other", "Other")
)
question_types = (
@@ -1298,6 +1299,8 @@ class Question(models.Model):
language = models.CharField(max_length=24,
choices=languages)
+ topic = models.CharField(max_length=50, blank=True, null=True)
+
# The type of question.
type = models.CharField(max_length=24, choices=question_types)