equipment admin list
This commit is contained in:
parent
4bfb11bdd3
commit
41883cb2dd
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ class CharFieldModelAdmin(admin.ModelAdmin):
|
|||
ordering = ['name']
|
||||
|
||||
class EquipmentAdmin(admin.ModelAdmin):
|
||||
list_display = ['name', 'stock']
|
||||
ordering = ['name']
|
||||
list_display = ['name', 'stock', 'owner', 'pole', 'category']
|
||||
ordering = ['name', 'owner', 'pole', 'category']
|
||||
inlines = [EquipmentRemarkExtraInline, EquipmentRevisionExtraInline]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue