summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authorprathamesh2016-08-25 16:48:29 +0530
committerprathamesh2016-08-25 16:48:29 +0530
commitc0909251ecffcdc0df34bb9ad4a90994708c3a5c (patch)
tree1f68e7b63d6b817d56a0fb34af29b78c8003a7d5 /yaksh/models.py
parente1e299b671a19b65705fb256d282e1e802a4c051 (diff)
downloadonline_test-c0909251ecffcdc0df34bb9ad4a90994708c3a5c.tar.gz
online_test-c0909251ecffcdc0df34bb9ad4a90994708c3a5c.tar.bz2
online_test-c0909251ecffcdc0df34bb9ad4a90994708c3a5c.zip
Students can view their submission i.e. answer paper
A simple interface for students to view their answerpaper. Moderator has an option where he can allow to students to view their answerpaper.
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 73d4b27..eb73499 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -428,6 +428,9 @@ class Quiz(models.Model):
is_trial = models.BooleanField(default=False)
+ view_answerpaper = models.BooleanField('Allow student to view their answer\
+ paper', default=False)
+
objects = QuizManager()
class Meta: