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',
|
||||
'payment_method',
|
||||
'payment_id',
|
||||
'recurring',
|
||||
'name',
|
||||
'email',
|
||||
'amount',
|
||||
|
@ -28,6 +29,6 @@ class SustainerOrderAdmin(admin.ModelAdmin):
|
|||
'country',
|
||||
]
|
||||
|
||||
readonly_fields = ['created_time', 'paid_time', 'payment_method', 'payment_id']
|
||||
list_display = ['created_time', 'name', 'email', 'amount', 'paid']
|
||||
readonly_fields = ['created_time', 'paid_time', 'payment_method', 'payment_id', 'recurring']
|
||||
list_display = ['created_time', 'name', 'email', 'amount', 'recurring', 'paid_time']
|
||||
list_filter = ['paid_time']
|
||||
|
|
Loading…
Reference in a new issue