im going to combust

This commit is contained in:
Nikola Kubiczek 2022-12-07 09:09:31 +01:00
parent 854bb1ed2d
commit 73ed58ab07

View File

@ -143,7 +143,7 @@ class SchoolYearFilter(admin.SimpleListFilter):
@admin.register(School)
class SchoolAdmin(admin.ModelAdmin):
list_display = ('name', 'in_current', 'email', 'phone')
list_display = ('view_name', 'in_current', 'email', 'phone')
@admin.display(empty_value='-')
def view_name(self, obj):