|
@@ -10,7 +10,7 @@ admin.site.register(ItemType)
|
|
|
|
|
|
@admin.register(Item)
|
|
|
class ItemAdmin(admin.ModelAdmin):
|
|
|
- list_display = ('type', 'designation', 'mac_address', 'user_in_charge',
|
|
|
+ list_display = ('designation', 'type', 'mac_address', 'user_in_charge',
|
|
|
'buy_date', 'is_available')
|
|
|
list_filter = ('type__name', 'buy_date')
|
|
|
search_fields = ('designation', 'user_in_charge')
|