summaryrefslogtreecommitdiff
path: root/testapp/exam/models.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2013-07-03 04:26:40 -0700
committerPrabhu Ramachandran2013-07-03 04:26:40 -0700
commitee64cfe58c42540d0736cc32d3acd36ab7a6d31d (patch)
tree6104cea3d6682e8d101da7f44ad645e7e00fc4f1 /testapp/exam/models.py
parentfe868c043487af8ea390165325309ad29daacc8e (diff)
parent7b18a329a2692d3f85fbe71fa99ceee9838b85c8 (diff)
downloadonline_test-ee64cfe58c42540d0736cc32d3acd36ab7a6d31d.tar.gz
online_test-ee64cfe58c42540d0736cc32d3acd36ab7a6d31d.tar.bz2
online_test-ee64cfe58c42540d0736cc32d3acd36ab7a6d31d.zip
Merge pull request #12 from prathamesh920/fresh_C_Cpp
Fresh c cpp
Diffstat (limited to 'testapp/exam/models.py')
-rw-r--r--testapp/exam/models.py5
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)
-