empty school value
This commit is contained in:
parent
4d1df46558
commit
7352bb0ee2
@ -144,6 +144,7 @@ class SchoolYearFilter(admin.SimpleListFilter):
|
|||||||
@admin.register(School)
|
@admin.register(School)
|
||||||
class SchoolAdmin(admin.ModelAdmin):
|
class SchoolAdmin(admin.ModelAdmin):
|
||||||
list_display = ('name', 'in_current', 'email', 'phone')
|
list_display = ('name', 'in_current', 'email', 'phone')
|
||||||
|
empty_value_display = '-'
|
||||||
|
|
||||||
|
|
||||||
admin.site.register(Student, StudentModelAdmin)
|
admin.site.register(Student, StudentModelAdmin)
|
||||||
|
Loading…
Reference in New Issue
Block a user