diff options
-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): |