enable save_as in ProductAdmin

This commit is contained in:
Thomas Steen Rasmussen 2021-05-25 17:38:28 +02:00
parent 2f3086e052
commit 952052b2ff

View file

@ -102,10 +102,9 @@ class ProductAdmin(admin.ModelAdmin):
] ]
list_editable = ["ticket_type"] list_editable = ["ticket_type"]
list_filter = ["category", "ticket_type"] list_filter = ["category", "ticket_type"]
search_fields = ["name"] search_fields = ["name"]
save_as = True
class ProductInline(admin.TabularInline): class ProductInline(admin.TabularInline):