diff options
author | Alban Gruin | 2017-11-27 16:34:27 +0100 |
---|---|---|
committer | Alban Gruin | 2017-11-27 16:34:27 +0100 |
commit | 3b9eab819c603b1d3b2b59d79258ce6a05aa24b9 (patch) | |
tree | 02f2efa1a2356f136e3273b129394855af7b5e48 | |
parent | 5d4d7530e1aba199c2604b311b17bef253f0a008 (diff) |
Inversion des colonnes à trier pour le groupe dans l’interface d’admin
-rw-r--r-- | admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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,) |