From 4bfb11bdd343fe5d38fd589ae9491ba444921508 Mon Sep 17 00:00:00 2001 From: Qwann Date: Tue, 7 Aug 2018 15:58:38 +0200 Subject: [PATCH] collaps admin --- equipment/admin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/equipment/admin.py b/equipment/admin.py index 6411229..45a5f29 100644 --- a/equipment/admin.py +++ b/equipment/admin.py @@ -36,6 +36,7 @@ class EquipmentRevisionExtraInline(admin.TabularInline): extra = 0 form = IdForm formset = IdFormset + classes = ['collapse'] class EquipmentRemarkExtraInline(admin.TabularInline): @@ -43,6 +44,7 @@ class EquipmentRemarkExtraInline(admin.TabularInline): extra = 0 form = IdForm formset = IdFormset + classes = ['collapse'] class CharFieldModelAdmin(admin.ModelAdmin): list_display = ['name']