add product filter options to admin page

This commit is contained in:
leander committed 2026-11-04 21:54:11 +01:00
1 parent 0cef90ffb8
commit 4df025426e
1 file changed
+2 -1
+2 -1
View File
@@ -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)