add more fields to order admin, permit filtering by cancelled
This commit is contained in:
parent
641201a856
commit
161290db33
|
@ -42,8 +42,10 @@ class OrderAdmin(admin.ModelAdmin):
|
||||||
list_display = [
|
list_display = [
|
||||||
'id',
|
'id',
|
||||||
'user',
|
'user',
|
||||||
'camp',
|
'email',
|
||||||
|
'total',
|
||||||
'payment_method',
|
'payment_method',
|
||||||
|
'open',
|
||||||
'paid',
|
'paid',
|
||||||
'cancelled',
|
'cancelled',
|
||||||
]
|
]
|
||||||
|
@ -52,7 +54,9 @@ class OrderAdmin(admin.ModelAdmin):
|
||||||
'user',
|
'user',
|
||||||
'camp',
|
'camp',
|
||||||
'payment_method',
|
'payment_method',
|
||||||
|
'open',
|
||||||
'paid',
|
'paid',
|
||||||
|
'cancelled',
|
||||||
]
|
]
|
||||||
|
|
||||||
exclude = ['products']
|
exclude = ['products']
|
||||||
|
|
Loading…
Reference in a new issue