2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 11:10:54 +00:00

Add searching to other admin views

This commit is contained in:
Oliver Walters
2019-09-13 23:32:49 +10:00
parent 9b1d0bee3b
commit 8578a3b8d1
2 changed files with 6 additions and 0 deletions

View File

@ -48,6 +48,8 @@ class LocationAdmin(ImportExportModelAdmin):
list_display = ('name', 'pathstring', 'description')
search_fields = ('name', 'description')
class StockItemResource(ModelResource):
""" Class for managing StockItem data import/export """