From 3b9eab819c603b1d3b2b59d79258ce6a05aa24b9 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Mon, 27 Nov 2017 16:34:27 +0100 Subject: Inversion des colonnes à trier pour le groupe dans l’interface d’admin --- admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin.py b/admin.py index fc0ada1..5af6cb1 100644 --- a/admin.py +++ b/admin.py @@ -53,7 +53,7 @@ class GroupAdmin(admin.ModelAdmin): list_display = ("name", "source", "hidden",) list_editable = ("hidden",) list_filter = ("source__timetables",) - ordering = ("name", "source",) + ordering = ("source", "name",) readonly_fields = ("celcat_name", "mention", "semester", "subgroup",) actions = (make_hidden, make_visible,) -- cgit v1.2.1