From b2e57836c1791b098008ff4adc648bf94e95ab08 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Tue, 12 Nov 2024 14:15:38 +1100 Subject: [PATCH] Add recurring column to sustainers admin list --- conservancy/supporters/admin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conservancy/supporters/admin.py b/conservancy/supporters/admin.py index 023b0777..1492fcca 100644 --- a/conservancy/supporters/admin.py +++ b/conservancy/supporters/admin.py @@ -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']