summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py2
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()