add product filter options to admin page
This commit is contained in:
1 parent
0cef90ffb8
commit
4df025426e
1 file changed
+2
-1
+2
-1
@@ -12,7 +12,8 @@ from bbs.models import (
|
||||
|
||||
@admin.register(Product)
|
||||
class ProductAdmin(admin.ModelAdmin):
|
||||
pass
|
||||
list_display = ["name", "active", "inventory_amount"]
|
||||
list_filter = ["active"]
|
||||
|
||||
|
||||
admin.site.register(InventoryTransaction)
|
||||
|
||||
Reference in new issue
Block a user