summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authorKing2019-02-26 22:43:10 +0530
committerGitHub2019-02-26 22:43:10 +0530
commitdda5b4626a6df366860b0079447137b709d46d88 (patch)
treefefe4594ee8837c4eeb52ea853adc69544e0608b /yaksh/models.py
parent8b5674dbd170307f5acac63fa1c53fd94dbe990e (diff)
parent055dcaa679d50baab56b7e0c20b8de19a400d11c (diff)
downloadonline_test-dda5b4626a6df366860b0079447137b709d46d88.tar.gz
online_test-dda5b4626a6df366860b0079447137b709d46d88.tar.bz2
online_test-dda5b4626a6df366860b0079447137b709d46d88.zip
Merge pull request #566 from ankitjavalkar/toggle-view-grade
Toggle view grade and other UI improvements
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 7b80306..7e0364a 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')