Add Status to Instruments List

This commit is contained in:
Lorenz Padberg 2022-07-27 15:58:54 +02:00
parent 9f7bd8b6b4
commit 0398c1bfc6
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ from .models import BasicKnowledge
class InstrumentAdmin(ModelAdmin):
model = BasicKnowledge
menu_label = 'Instruments'
list_display = ('title', 'new_type')
search_fields = ('title', 'new_type')
list_display = ('title', 'new_type', 'status_string')
search_fields = ('title', 'new_type__name')
modeladmin_register(InstrumentAdmin)