collaps admin

This commit is contained in:
Qwann 2018-08-07 15:58:38 +02:00
parent 707ef2292f
commit 4bfb11bdd3

View file

@ -36,6 +36,7 @@ class EquipmentRevisionExtraInline(admin.TabularInline):
extra = 0 extra = 0
form = IdForm form = IdForm
formset = IdFormset formset = IdFormset
classes = ['collapse']
class EquipmentRemarkExtraInline(admin.TabularInline): class EquipmentRemarkExtraInline(admin.TabularInline):
@ -43,6 +44,7 @@ class EquipmentRemarkExtraInline(admin.TabularInline):
extra = 0 extra = 0
form = IdForm form = IdForm
formset = IdFormset formset = IdFormset
classes = ['collapse']
class CharFieldModelAdmin(admin.ModelAdmin): class CharFieldModelAdmin(admin.ModelAdmin):
list_display = ['name'] list_display = ['name']