aboutsummaryrefslogtreecommitdiff
path: root/views.py
diff options
context:
space:
mode:
authorAlban Gruin2017-11-18 16:04:18 +0100
committerAlban Gruin2017-11-27 12:11:30 +0100
commit599ca85167ad7d53f6434b105cb74c761d994ecf (patch)
treef93cb1001a954f85e10e386349d66e4ed7afcac2 /views.py
parentac9489cf4faa063c9270a3900a52809306355ea2 (diff)
Liens et URLs pour les emplois du temps des salles
Diffstat (limited to 'views.py')
-rw-r--r--views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/views.py b/views.py
index 9047329..e35796b 100644
--- a/views.py
+++ b/views.py
@@ -121,7 +121,7 @@ def rooms(request):
return render(request, "group_list.html", {"groups": rooms_weeks})
-def room_timetable(request, room_slug):
+def room_timetable(request, room_slug, year=None, week=None):
room = get_object_or_404(Room, slug=room_slug)
courses = Course.objects.filter(rooms__in=(room,)).order_by("begin")