enable save_as in ProductAdmin
This commit is contained in:
parent
2f3086e052
commit
952052b2ff
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue