Add Status to Instruments List
This commit is contained in:
parent
9f7bd8b6b4
commit
0398c1bfc6
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue