diff options
author | Palaparthy Adityachandra | 2021-02-08 11:58:50 +0530 |
---|---|---|
committer | GitHub | 2021-02-08 11:58:50 +0530 |
commit | c179633d31dbdd1bb4cc9a6e157664bc5712756c (patch) | |
tree | d6966ca0ba1a12254163fda53a28a64b6adebfef /yaksh/models.py | |
parent | 1206e886588b3d7e8dfe5fb88a6891e85c5b73ee (diff) | |
parent | 7cf71fe471553c7b0f92d96f3b2da48d06eaa43d (diff) | |
download | online_test-c179633d31dbdd1bb4cc9a6e157664bc5712756c.tar.gz online_test-c179633d31dbdd1bb4cc9a6e157664bc5712756c.tar.bz2 online_test-c179633d31dbdd1bb4cc9a6e157664bc5712756c.zip |
Merge pull request #815 from adityacp/release_0_30_1v0.30.1
Release changes
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index 0f62948..b4d0f76 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -1067,7 +1067,7 @@ class Course(models.Model): return students def get_learning_modules(self): - return self.learning_module.order_by("order") + return self.learning_module.filter(is_trial=False).order_by("order") def get_learning_module(self, quiz): modules = self.get_learning_modules() |