From 24554804c4b2dcd4c57daac285f9a76557548a77 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Tue, 16 Sep 2025 09:45:12 +0200 Subject: [PATCH] Fixed syntax error --- stages/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stages/admin.py b/stages/admin.py index 97dbe44..7b7bfd8 100644 --- a/stages/admin.py +++ b/stages/admin.py @@ -227,7 +227,7 @@ class StudentAdmin(admin.ModelAdmin): # SupervisionBillInline is only adequate for EDE students if not obj.klass or obj.klass.section.name != 'EDE': inlines = [inl for inl in inlines if inl != SupervisionBillInline] - if not obj.is_ede() and not obj.is_eds() and not obs.is_msp(): + if not obj.is_ede() and not obj.is_eds() and not obj.is_msp(): inlines = [inl for inl in inlines if inl != ExaminationInline] if request.method == 'POST': # Special case where inlines would be different before and after POST