diff options
author | Alban Gruin | 2017-02-05 13:59:51 +0100 |
---|---|---|
committer | Alban Gruin | 2017-02-05 13:59:51 +0100 |
commit | 10bca4899aeb607b86480f35fc8c9db6bb7c6714 (patch) | |
tree | d3eb2184eef141b3a9ca023522e24d34841640f6 /views.py | |
parent | 5363b70a7840f937f710e0a85fa83e48a35e083a (diff) |
Filtrage par emploi du temps global lors de la récupération des cours pour un groupestable/0.3.z
Diffstat (limited to 'views.py')
-rw-r--r-- | views.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ def timetable(request, timetable_slug, group_slug, year=None, week=None): timetable = get_object_or_404(Timetable, slug=timetable_slug) group = get_object_or_404(Group, slug=group_slug, timetable=timetable) - courses = Course.objects.get_courses_for_group(group, timetable=timetable, begin__gte=start, begin__lt=end) + courses = Course.objects.get_courses_for_group(group, begin__gte=start, begin__lt=end) last_update = LastUpdate.objects.get(timetable=timetable, week=week, year=year) grouped_courses = group_courses(courses) |