make it possible to filter products by category and ticket type, and remove description from product list
This commit is contained in:
parent
58d670b57f
commit
ad0368f486
|
@ -107,12 +107,16 @@ class ProductAdmin(admin.ModelAdmin):
|
|||
'category',
|
||||
'ticket_type',
|
||||
'price',
|
||||
'description',
|
||||
stock_info,
|
||||
available_from,
|
||||
available_to
|
||||
]
|
||||
|
||||
list_filter = [
|
||||
'category',
|
||||
'ticket_type',
|
||||
]
|
||||
|
||||
search_fields = ['name']
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue