summaryrefslogtreecommitdiff
path: root/testapp/exam/models.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2015-04-13 00:55:53 +0530
committerPrabhu Ramachandran2015-04-13 00:55:53 +0530
commit6e275bd876f3b7b25956f81fbea8ecf41b02e654 (patch)
tree375ac3b10f95caa79d19ee3ae9f09518e4b5be67 /testapp/exam/models.py
parent7acbd64bff389a838f049234e78889a2b94a4f94 (diff)
parent8fcc1ab1de747bea09b443ba591a684e3054f65b (diff)
downloadonline_test-6e275bd876f3b7b25956f81fbea8ecf41b02e654.tar.gz
online_test-6e275bd876f3b7b25956f81fbea8ecf41b02e654.tar.bz2
online_test-6e275bd876f3b7b25956f81fbea8ecf41b02e654.zip
Merge pull request #44 from prathamesh920/save_skipped_answer
Save skipped answer
Diffstat (limited to 'testapp/exam/models.py')
-rw-r--r--testapp/exam/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testapp/exam/models.py b/testapp/exam/models.py
index ebf1018..72fb51b 100644
--- a/testapp/exam/models.py
+++ b/testapp/exam/models.py
@@ -106,6 +106,9 @@ class Answer(models.Model):
# Is the answer correct.
correct = models.BooleanField(default=False)
+ # Whether skipped or not.
+ skipped = models.BooleanField(default=False)
+
def __unicode__(self):
return self.answer