From ff5fc201bf7f44a6dc9d6d93fee7bc0ce47d1be2 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Tue, 24 Feb 2015 11:21:48 +0530 Subject: On skip the answer will be saved. The user answer will be retrieved when the same question is loaded again later. --- testapp/exam/models.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testapp/exam/models.py') diff --git a/testapp/exam/models.py b/testapp/exam/models.py index 88ba9ef..0ad6021 100644 --- a/testapp/exam/models.py +++ b/testapp/exam/models.py @@ -105,6 +105,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 -- cgit