summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 017d1ca..8d179b4 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -165,7 +165,7 @@ def quizlist_user(request, enrolled=None, msg=None):
title = 'Search'
elif enrolled is not None:
- courses = user.students.all().order_by('-id')
+ courses = user.students.filter(is_trial=False).order_by('-id')
title = 'Enrolled Courses'
else:
courses = Course.objects.filter(