aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
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,)