From 9be6d21a548a1a041fdf52791fde96cc49092682 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Sun, 12 Feb 2017 13:25:51 +0100 Subject: Affichage d'un message si il n'y a pas de cours enregitré pour un groupe Tri des emplois du temps par nom --- views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views.py') diff --git a/views.py b/views.py index 08a450f..c573589 100644 --- a/views.py +++ b/views.py @@ -29,7 +29,7 @@ from .utils import get_current_week, get_week, group_courses import datetime def index(request): - timetables = Timetable.objects.all() + timetables = Timetable.objects.all().order_by("name") groups = Group.objects.filter(tp__isnull=False).order_by("name") year, week = get_current_week() -- cgit v1.2.1