From 1d5cd5253b125eb6406dd67e9f267c208658bcfc Mon Sep 17 00:00:00 2001 From: maheshgudi Date: Fri, 3 Feb 2017 14:40:50 +0530 Subject: renamed quiz model attribute from can_skip_questions to allow_skip --- yaksh/models.py | 5 ++--- yaksh/templates/exam.html | 12 ++++++++---- yaksh/templates/yaksh/question.html | 4 +--- 3 files changed, 11 insertions(+), 10 deletions(-) (limited to 'yaksh') diff --git a/yaksh/models.py b/yaksh/models.py index b2ba91f..f5c1129 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -580,9 +580,8 @@ 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 - ) + allow_skip = models.BooleanField("Allow students to skip questions", + default=True) objects = QuizManager() diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html index 00633a3..dfcaf2d 100644 --- a/yaksh/templates/exam.html +++ b/yaksh/templates/exam.html @@ -31,8 +31,8 @@
Question Navigator