From b277f9191bf8720533901e58db36851675b8f430 Mon Sep 17 00:00:00 2001 From: maheshgudi Date: Fri, 3 Feb 2017 01:28:50 +0530 Subject: added skip question feature. closes #191 The can_skip_questions attribute is to be set True for students to be able to skip questions. If it is set as False, students wont be able to skip to the next question. --- yaksh/models.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'yaksh/models.py') diff --git a/yaksh/models.py b/yaksh/models.py index b917889..b2ba91f 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -580,6 +580,10 @@ class Quiz(models.Model): view_answerpaper = models.BooleanField('Allow student to view their answer\ paper', default=False) + can_skip_questions = models.BooleanField("Allow students to skip questions", + default=True + ) + objects = QuizManager() class Meta: -- cgit