contacts: Allow unsubscribes to be actioned from list view

This commit is contained in:
Ben Sturmfels 2024-12-18 10:05:34 +11:00
parent 45fd0c4f5e
commit 882d578e46
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -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']