Add recurring column to sustainers admin list
This commit is contained in:
parent
5338e43e60
commit
b2e57836c1
1 changed files with 3 additions and 2 deletions
|
@ -15,6 +15,7 @@ class SustainerOrderAdmin(admin.ModelAdmin):
|
||||||
'paid_time',
|
'paid_time',
|
||||||
'payment_method',
|
'payment_method',
|
||||||
'payment_id',
|
'payment_id',
|
||||||
|
'recurring',
|
||||||
'name',
|
'name',
|
||||||
'email',
|
'email',
|
||||||
'amount',
|
'amount',
|
||||||
|
@ -28,6 +29,6 @@ class SustainerOrderAdmin(admin.ModelAdmin):
|
||||||
'country',
|
'country',
|
||||||
]
|
]
|
||||||
|
|
||||||
readonly_fields = ['created_time', 'paid_time', 'payment_method', 'payment_id']
|
readonly_fields = ['created_time', 'paid_time', 'payment_method', 'payment_id', 'recurring']
|
||||||
list_display = ['created_time', 'name', 'email', 'amount', 'paid']
|
list_display = ['created_time', 'name', 'email', 'amount', 'recurring', 'paid_time']
|
||||||
list_filter = ['paid_time']
|
list_filter = ['paid_time']
|
||||||
|
|
Loading…
Reference in a new issue