Add new pointer from Training to Teacher model
This commit is contained in:
parent
b00f3e12a8
commit
5d1afb77ee
3 changed files with 32 additions and 2 deletions
|
|
@ -63,7 +63,8 @@ class KlassAdmin(admin.ModelAdmin):
|
|||
|
||||
|
||||
class TeacherAdmin(admin.ModelAdmin):
|
||||
list_display = ('__str__', 'abrev', 'email')
|
||||
list_display = ('__str__', 'abrev', 'email', 'archived')
|
||||
list_filter = ('archived',)
|
||||
actions = [print_charge_sheet]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue