Make it easier to set ticket type for products.
This commit is contained in:
parent
444aa59159
commit
7a2127d1ff
|
@ -101,6 +101,8 @@ class ProductAdmin(admin.ModelAdmin):
|
||||||
available_to,
|
available_to,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
list_editable = ["ticket_type"]
|
||||||
|
|
||||||
list_filter = ["category", "ticket_type"]
|
list_filter = ["category", "ticket_type"]
|
||||||
|
|
||||||
search_fields = ["name"]
|
search_fields = ["name"]
|
||||||
|
|
Loading…
Reference in a new issue