more student data shown in admin
This commit is contained in:
parent
13cdd7a53f
commit
f7c25363f1
@ -116,7 +116,8 @@ class StudentYearFilter(admin.SimpleListFilter):
|
||||
|
||||
|
||||
class StudentModelAdmin(admin.ModelAdmin):
|
||||
list_display = ('identifier', '__str__', 'grade')
|
||||
list_display = ('identifier', '__str__', 'score_first',
|
||||
'score_second', 'school_name', 'school_town', 'grade')
|
||||
search_fields = ('identifier', 'name', 'surname', 'grade')
|
||||
ordering = ('-identifier',)
|
||||
list_filter = (StudentYearFilter,)
|
||||
|
Loading…
Reference in New Issue
Block a user