add more fields to order admin, permit filtering by cancelled

This commit is contained in:
Thomas Steen Rasmussen 2016-06-04 09:37:54 +02:00
parent 641201a856
commit 161290db33

View file

@ -42,8 +42,10 @@ class OrderAdmin(admin.ModelAdmin):
list_display = [
'id',
'user',
'camp',
'email',
'total',
'payment_method',
'open',
'paid',
'cancelled',
]
@ -52,7 +54,9 @@ class OrderAdmin(admin.ModelAdmin):
'user',
'camp',
'payment_method',
'open',
'paid',
'cancelled',
]
exclude = ['products']