Add search to Instruments
This commit is contained in:
parent
5137955b54
commit
9f7bd8b6b4
|
|
@ -6,6 +6,7 @@ class InstrumentAdmin(ModelAdmin):
|
||||||
model = BasicKnowledge
|
model = BasicKnowledge
|
||||||
menu_label = 'Instruments'
|
menu_label = 'Instruments'
|
||||||
list_display = ('title', 'new_type')
|
list_display = ('title', 'new_type')
|
||||||
|
search_fields = ('title', 'new_type')
|
||||||
|
|
||||||
|
|
||||||
modeladmin_register(InstrumentAdmin)
|
modeladmin_register(InstrumentAdmin)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue