Skip to content
Snippets Groups Projects
Commit a7e37419 authored by Christian Pointner's avatar Christian Pointner
Browse files

show up to 20 recommandtions in box

parent 02f2cd40
No related branches found
No related tags found
No related merge requests found
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment