From a8624728aa40b51f92e474556459fceafd744057 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 1 Jul 2025 18:56:24 +0200 Subject: [PATCH] add status to admin --- teleforma/webclass/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teleforma/webclass/admin.py b/teleforma/webclass/admin.py index 8dc7c4af..96ebe4ce 100644 --- a/teleforma/webclass/admin.py +++ b/teleforma/webclass/admin.py @@ -22,8 +22,8 @@ class WebclassAdmin(admin.ModelAdmin): search_fields = ['id', 'course__code', 'course__title'] class WebclassRecordAdmin(admin.ModelAdmin): - list_filter = ('course', 'period', 'category') - list_display = ('course', 'period', 'category', 'created') + list_filter = ('course', 'period', 'category', 'status') + list_display = ('course', 'period', 'category', 'created', 'status') search_fields = ['id', 'course__code', 'course__title'] # def get_form(self, request, obj=None, **kwargs): -- 2.39.5