diff options
author | Alban Gruin | 2017-11-26 14:22:13 +0100 |
---|---|---|
committer | Alban Gruin | 2017-11-26 14:22:13 +0100 |
commit | ef6f5e8517436b804265880b71a2ee88f9f5c179 (patch) | |
tree | 571ca4f023be50d800ec4a7991b6fd3377c8b7b2 /models.py | |
parent | 574bc0efb1061cd1c1fd747ba13f6f7ac14a3e51 (diff) |
Récupération du semestre pour générer la liste des groupes.
Diffstat (limited to 'models.py')
-rw-r--r-- | models.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -164,7 +164,7 @@ class CourseManager(Manager): .order_by("groups__name", "year", "week") \ .annotate(year=ExtractYear("begin"), week=ExtractWeek("begin")) \ - .values("groups__mention", + .values("groups__mention", "groups__semester", "groups__subgroup", "year", "week") |