Unverified Commit 7c34d97c authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Allow filtering by availability in the pizza product admin

parent f37b5fb1
......@@ -11,6 +11,7 @@ from events.models import Event
class ProductAdmin(admin.ModelAdmin):
list_display = ('name', 'price', 'available')
list_filter = ('available', 'restricted')
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