make it possible to filter products by category and ticket type, and remove description from product list

This commit is contained in:
Thomas Steen Rasmussen 2019-02-10 14:53:01 +01:00
parent 58d670b57f
commit ad0368f486

View file

@ -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']