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 8ac8343..5d26822 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -409,7 +409,7 @@ def prof_manage(request, msg=None):
courses = Course.objects.get_queryset().filter(
Q(creator=user) | Q(teachers=user),
is_trial=False).distinct().order_by("-active")
- paginator = Paginator(courses, 30)
+ paginator = Paginator(courses, 20)
page = request.GET.get('page')
try:
courses = paginator.page(page)