summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-02-15 19:52:13 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2012-02-15 19:52:13 (GMT)
commita7e37419316c72ad89253123cc4577f1f4648673 (patch)
tree81861bb7ea007e85d5495035e387f5f1fc03efb2 /program
parent02f2cd4025ae1368a56016cb1756e1275645ad41 (diff)
show up to 20 recommandtions in box
Diffstat (limited to 'program')
-rw-r--r--program/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/views.py b/program/views.py
index 4bad7f8..c3d1b03 100644
--- a/program/views.py
+++ b/program/views.py
@@ -31,7 +31,7 @@ def recommendations(request, template_name='program/recommendations.html'):
now = datetime.now()
in_one_week = now + timedelta(weeks=1)
- queryset = Note.objects.filter(status=1, timeslot__start__range=(now, in_one_week))[:10]
+ queryset = Note.objects.filter(status=1, timeslot__start__range=(now, in_one_week))[:20]
return list_detail.object_list(request, queryset=queryset, template_name=template_name, template_object_name='recommendation')