aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'admin.py')
-rw-r--r--admin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin.py b/admin.py
index bdf59a2..5583967 100644
--- a/admin.py
+++ b/admin.py
@@ -10,6 +10,8 @@ class TimetableAdmin(admin.ModelAdmin):
@admin.register(Group)
class GroupAdmin(admin.ModelAdmin):
+ fieldsets = (
+ (None, {"fields": ("name", "timetable",)}),)
list_display = ("name", "timetable",)
list_filter = ("timetable__name",)