summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2017-02-03 18:46:24 +0530
committerGitHub2017-02-03 18:46:24 +0530
commita3886ca604760acee2940daae162940e86b7ac98 (patch)
treef8e989b5aa79f8c531b068f4dbd201b0d6874796 /yaksh/models.py
parent227557f9047d4e382fa84ac5aff8079a5544f111 (diff)
parent1d5cd5253b125eb6406dd67e9f267c208658bcfc (diff)
downloadonline_test-a3886ca604760acee2940daae162940e86b7ac98.tar.gz
online_test-a3886ca604760acee2940daae162940e86b7ac98.tar.bz2
online_test-a3886ca604760acee2940daae162940e86b7ac98.zip
Merge pull request #206 from maheshgudi/fix-191
added skip question feature. closes #191
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index 3a6b326..49ba32a 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -580,6 +580,9 @@ class Quiz(models.Model):
view_answerpaper = models.BooleanField('Allow student to view their answer\
paper', default=False)
+ allow_skip = models.BooleanField("Allow students to skip questions",
+ default=True)
+
objects = QuizManager()
class Meta: