shouldnt have done that

This commit is contained in:
Nikola Kubiczek 2021-12-09 15:08:17 +01:00
parent a1fb4c1f49
commit 7167992486

View File

@ -88,6 +88,8 @@ class EditionModelAdmin(admin.ModelAdmin):
return response
return super().response_change(request, obj)
class StudentModelAdmin(admin.ModelAdmin):
list_display = ('identifier', '__str__', 'grade')
search_fields = ('identifier', 'name', 'surname', 'grade')