Add search to Instruments

This commit is contained in:
Lorenz Padberg 2022-07-27 15:44:16 +02:00
parent 5137955b54
commit 9f7bd8b6b4
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ class InstrumentAdmin(ModelAdmin):
model = BasicKnowledge
menu_label = 'Instruments'
list_display = ('title', 'new_type')
search_fields = ('title', 'new_type')
modeladmin_register(InstrumentAdmin)