From 41883cb2dd4adcae7b6d17a895a3a0e926a76652 Mon Sep 17 00:00:00 2001 From: Qwann Date: Tue, 7 Aug 2018 16:26:33 +0200 Subject: [PATCH] equipment admin list --- equipment/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/equipment/admin.py b/equipment/admin.py index 45a5f29..450203e 100644 --- a/equipment/admin.py +++ b/equipment/admin.py @@ -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]