Commit c4d23d08 authored by Tom van Bussel's avatar Tom van Bussel
Browse files

Merge branch 'pizza-filters' into 'master'

Allow filtering by availability in the pizza product admin

See merge request !753
parents f37b5fb1 7c34d97c
......@@ -11,6 +11,7 @@ from events.models import Event
@admin.register(Product)
class ProductAdmin(admin.ModelAdmin):
list_display = ('name', 'price', 'available')
list_filter = ('available', 'restricted')
@admin.register(PizzaEvent)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment