From 05b386315c09c735201566cf8945fc8ff78d2741 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 8 Dec 2024 10:24:19 -0600 Subject: lttr: improved postcard admin --- app/lttr/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/lttr/admin.py') diff --git a/app/lttr/admin.py b/app/lttr/admin.py index 8acce33..0a38d20 100644 --- a/app/lttr/admin.py +++ b/app/lttr/admin.py @@ -99,7 +99,8 @@ class NewsletterMailingAdmin(admin.ModelAdmin): @admin.register(PostcardSubscriber) class PostcardSubscriberAdmin(admin.ModelAdmin): - list_display = ('name', 'address', 'date_created', 'postcards_sent') + list_display = ('name', 'address', 'date_created', 'postcard_sent') + list_filter = ('postcard_sent',) class Media: js = ('next-prev-links.js',) -- cgit v1.2.3-70-g09d2