aboutsummaryrefslogtreecommitdiff
path: root/views.py
diff options
context:
space:
mode:
authorAlban Gruin2017-11-26 14:22:13 +0100
committerAlban Gruin2017-11-26 14:22:13 +0100
commitef6f5e8517436b804265880b71a2ee88f9f5c179 (patch)
tree571ca4f023be50d800ec4a7991b6fd3377c8b7b2 /views.py
parent574bc0efb1061cd1c1fd747ba13f6f7ac14a3e51 (diff)
Récupération du semestre pour générer la liste des groupes.
Diffstat (limited to 'views.py')
-rw-r--r--views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/views.py b/views.py
index 5eb224e..4431891 100644
--- a/views.py
+++ b/views.py
@@ -47,6 +47,7 @@ def group_list(request, year_slug, timetable_slug):
for group in groups:
for group_week in groups_weeks:
if group.corresponds_to(group_week["groups__mention"],
+ group_week["groups__semester"],
group_week["groups__subgroup"]):
if not hasattr(group, "weeks"):
group.weeks = []