From 7a2127d1ff0f7cc38d61602ad7ee05d75b5ae7da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Mon, 29 Jul 2019 21:31:07 +0200 Subject: [PATCH] Make it easier to set ticket type for products. --- src/shop/admin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shop/admin.py b/src/shop/admin.py index c996a98c..988bcd04 100644 --- a/src/shop/admin.py +++ b/src/shop/admin.py @@ -101,6 +101,8 @@ class ProductAdmin(admin.ModelAdmin): available_to, ] + list_editable = ["ticket_type"] + list_filter = ["category", "ticket_type"] search_fields = ["name"]