from django.contrib import admin

from .models import NewsletterSubscription


admin.site.register(NewsletterSubscription,
    list_display=('email', 'is_active', 'confirmed_on', 'unsubscribed_on'),
    list_filter=('is_active',),
    )

from django.contrib import admin

from .models import NewsletterSubscription


admin.site.register(NewsletterSubscription,
    list_display=('email', 'is_active', 'confirmed_on', 'unsubscribed_on'),
    list_filter=('is_active',),
    search_fields=('code', 'email', 'first_name', 'last_name'),
    )

Add search fields for newsletter subscriptions
Add search fields for newsletter subscriptions
