Fixed syntax error
This commit is contained in:
parent
573862c82c
commit
24554804c4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue