kopia lustrzana https://github.com/jedie/PyInventory
enhance admin
rodzic
28c23b613e
commit
a9b0f08c64
|
@ -17,9 +17,11 @@ class ItemModelAdmin(BaseUserAdmin):
|
|||
date_hierarchy = 'create_dt'
|
||||
list_display = (
|
||||
'kind', 'producer',
|
||||
'parent', 'name',
|
||||
'location', 'received_date', 'update_dt'
|
||||
'name',
|
||||
'parent', 'location',
|
||||
'received_date', 'update_dt'
|
||||
)
|
||||
ordering = ('kind', 'producer', 'name')
|
||||
list_display_links = ('name',)
|
||||
list_filter = ('kind', 'location', 'producer', 'tags')
|
||||
search_fields = ('name', 'description')
|
||||
|
|
Ładowanie…
Reference in New Issue