website/conservancy/contacts/admin.py
2024-12-11 10:37:02 +11:00

10 lines
282 B
Python

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