summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authorankitjavalkar2019-01-30 12:50:07 +0530
committerankitjavalkar2019-01-30 12:50:07 +0530
commit64298d4afebdece1eaccb363e83dc64db6645c45 (patch)
tree19310790ca16a96e72b8d61179e908702bcda360 /yaksh/models.py
parentcedceac0c7b64e2116b5cfd5ec9461fdff98842c (diff)
downloadonline_test-64298d4afebdece1eaccb363e83dc64db6645c45.tar.gz
online_test-64298d4afebdece1eaccb363e83dc64db6645c45.tar.bz2
online_test-64298d4afebdece1eaccb363e83dc64db6645c45.zip
Allow course moderators to hide or show the grade to students
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index cce90e7..5036524 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -758,6 +758,7 @@ class Course(models.Model):
teachers = models.ManyToManyField(User, related_name='teachers')
is_trial = models.BooleanField(default=False)
instructions = models.TextField(default=None, null=True, blank=True)
+ view_grade = models.BooleanField(default=False)
learning_module = models.ManyToManyField(LearningModule,
related_name='learning_module')