diff options
Diffstat (limited to 'testapp/exam/models.py')
-rw-r--r-- | testapp/exam/models.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testapp/exam/models.py b/testapp/exam/models.py index 00d32e4..fac01ec 100644 --- a/testapp/exam/models.py +++ b/testapp/exam/models.py @@ -18,7 +18,9 @@ QUESTION_TYPE_CHOICES = ( ("python", "Python"), ("bash", "Bash"), ("mcq", "MultipleChoice"), - ) + ("C", "C Language"), + ("C++", "C++ Language"), + ) ################################################################################ class Question(models.Model): @@ -233,4 +235,3 @@ the next.""" def __unicode__(self): u = self.user return u'Question paper for {0} {1}'.format(u.first_name, u.last_name) - |