summaryrefslogtreecommitdiff
path: root/testapp/exam/models.py
diff options
context:
space:
mode:
authorprathamesh2013-07-03 16:58:34 +0530
committerprathamesh2013-07-03 16:58:34 +0530
commit8de499263ec00be5e500693b8db7f4b5ee0d15bd (patch)
treea508cfbcd65d16ffb3801a218b6037a8b3bd555f /testapp/exam/models.py
parent156bb47ecebcca190683b8e59f917a5b742d11fd (diff)
parentb522a1ba1c1edff7648c6c7d69fa2867a08b4100 (diff)
downloadonline_test-8de499263ec00be5e500693b8db7f4b5ee0d15bd.tar.gz
online_test-8de499263ec00be5e500693b8db7f4b5ee0d15bd.tar.bz2
online_test-8de499263ec00be5e500693b8db7f4b5ee0d15bd.zip
Merge branch 'fresh_java' of https://github.com/prathamesh920/online_test into deploy_server
Conflicts: testapp/templates/exam/question.html
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)
-