diff options
author | Prabhu Ramachandran | 2015-04-13 00:55:53 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2015-04-13 00:55:53 +0530 |
commit | 6e275bd876f3b7b25956f81fbea8ecf41b02e654 (patch) | |
tree | 375ac3b10f95caa79d19ee3ae9f09518e4b5be67 /testapp/exam/models.py | |
parent | 7acbd64bff389a838f049234e78889a2b94a4f94 (diff) | |
parent | 8fcc1ab1de747bea09b443ba591a684e3054f65b (diff) | |
download | online_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.py | 3 |
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 |