aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
authorAlban Gruin2017-11-27 16:34:27 +0100
committerAlban Gruin2017-11-27 16:34:27 +0100
commit3b9eab819c603b1d3b2b59d79258ce6a05aa24b9 (patch)
tree02f2efa1a2356f136e3273b129394855af7b5e48 /admin.py
parent5d4d7530e1aba199c2604b311b17bef253f0a008 (diff)
Inversion des colonnes à trier pour le groupe dans l’interface d’admin
Diffstat (limited to 'admin.py')
-rw-r--r--admin.py2
1 files changed, 1 insertions, 1 deletions
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,)