pull/5/head
JensDiemer 2020-10-17 19:00:39 +02:00
rodzic 28c23b613e
commit a9b0f08c64
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -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')