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, 4 insertions, 2 deletions
diff --git a/testapp/exam/models.py b/testapp/exam/models.py
index da9bc0a..2aa02c9 100644
--- a/testapp/exam/models.py
+++ b/testapp/exam/models.py
@@ -18,7 +18,10 @@ QUESTION_TYPE_CHOICES = (
("python", "Python"),
("bash", "Bash"),
("mcq", "MultipleChoice"),
- )
+ ("C", "C Language"),
+ ("C++", "C++ Language"),
+ ("java", "Java Language"),
+ )
################################################################################
class Question(models.Model):
@@ -234,4 +237,3 @@ the next."""
def __unicode__(self):
u = self.user
return u'Question paper for {0} {1}'.format(u.first_name, u.last_name)
-