From 4bff8bb3ba33dc0164a097c6dd06aa81dc59986b Mon Sep 17 00:00:00 2001 From: lxf Date: Fri, 22 Oct 2021 11:35:15 -0400 Subject: lttr: added a filter to subscriber view to see which newslttr they signed up for --- app/lttr/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lttr') diff --git a/app/lttr/admin.py b/app/lttr/admin.py index a13ab5b..9753113 100644 --- a/app/lttr/admin.py +++ b/app/lttr/admin.py @@ -8,7 +8,7 @@ from .models import NewsletterMailing, OldNewsletterMailing, Subscriber, Newslet class SubscriberAdmin(admin.ModelAdmin): list_display = ('email_field', 'user', 'newsletter', 'date_created', 'subscribed', 'subscribe_date', 'unsubscribed') search_fields = ['email_field'] - list_filter = ['unsubscribed'] + list_filter = ['unsubscribed', 'newsletter'] class Media: js = ('next-prev-links.js',) -- cgit v1.2.3-70-g09d2