From 882d578e46a194fa93896284a4e8287bfd105662 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Wed, 18 Dec 2024 10:05:34 +1100 Subject: [PATCH] contacts: Allow unsubscribes to be actioned from list view --- conservancy/contacts/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conservancy/contacts/admin.py b/conservancy/contacts/admin.py index e5faaba2..0865e933 100644 --- a/conservancy/contacts/admin.py +++ b/conservancy/contacts/admin.py @@ -5,6 +5,7 @@ from .models import Unsubscription @admin.register(Unsubscription) class UnsubscriptionAdmin(admin.ModelAdmin): - list_display = ['created', 'email', 'mailout'] + list_display = ['created', 'email', 'mailout', 'actioned'] + list_editable = ['actioned'] list_filter = ['mailout', 'actioned'] search_fields = ['email', 'mailout']