from django.contrib import admin from .models import Unsubscription @admin.register(Unsubscription) class UnsubscriptionAdmin(admin.ModelAdmin): list_display = ['created', 'email', 'mailout', 'actioned'] list_editable = ['actioned'] list_filter = ['mailout', 'actioned'] search_fields = ['email', 'mailout']