Parcourir la source

Remove item type from admin item list display

We need room to display storage, and type is not very useful in the list.
Jocelyn Delalande il y a 6 ans
Parent
commit
62ab2dd7ff
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      hardware_provisioning/admin.py

+ 1 - 1
hardware_provisioning/admin.py

@@ -59,7 +59,7 @@ class AvailabilityFilter(admin.SimpleListFilter):
 @admin.register(Item)
 class ItemAdmin(admin.ModelAdmin):
     list_display = (
-        'designation', 'type', 'mac_address', 'serial', 'owner',
+        'designation', 'mac_address', 'serial', 'owner',
         'buy_date', 'deployed', 'is_available', 'storage')
     list_filter = (
         AvailabilityFilter, 'type', 'storage',