equipment admin list

This commit is contained in:
Qwann 2018-08-07 16:26:33 +02:00
parent 4bfb11bdd3
commit 41883cb2dd

View file

@ -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]