diff options
author | Alban Gruin | 2017-01-29 10:55:10 +0100 |
---|---|---|
committer | Alban Gruin | 2017-01-29 10:55:10 +0100 |
commit | 009bdf1468b4d7c977f125535e59a5c89731fc4f (patch) | |
tree | 296019cfc060922f0b32ebf30e42012947108594 /views.py | |
parent | d5c846ac3214efcbd2b3cb8d562b58006c3a5eb5 (diff) |
Tri des dates pour chaque groupe sur la page d'accueilv0.2.1
Diffstat (limited to 'views.py')
-rw-r--r-- | views.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -30,6 +30,8 @@ def index(request): if date not in group.weeks: group.weeks.append(date) + group.weeks.sort() + return render(request, "index.html", {"timetables": timetables, "groups": groups}) def timetable(request, group_slug, year, week): |