summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authormaheshgudi2017-02-03 14:40:50 +0530
committermaheshgudi2017-02-03 18:18:52 +0530
commit1d5cd5253b125eb6406dd67e9f267c208658bcfc (patch)
tree5421d3bc26c160447434b07f51786fb4fe76dbf8 /yaksh/models.py
parentb277f9191bf8720533901e58db36851675b8f430 (diff)
downloadonline_test-1d5cd5253b125eb6406dd67e9f267c208658bcfc.tar.gz
online_test-1d5cd5253b125eb6406dd67e9f267c208658bcfc.tar.bz2
online_test-1d5cd5253b125eb6406dd67e9f267c208658bcfc.zip
renamed quiz model attribute from can_skip_questions to allow_skip
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py5
1 files changed, 2 insertions, 3 deletions
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()