diff options
author | lxf <sng@luxagraf.net> | 2021-10-22 11:35:15 -0400 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2021-10-22 11:35:15 -0400 |
commit | 4bff8bb3ba33dc0164a097c6dd06aa81dc59986b (patch) | |
tree | 290d36c84300448782c76f513fd1d3c5febb35ed /app/lttr/admin.py | |
parent | 73b166e71cebd3e63901585d1bca26d76041ba4d (diff) |
lttr: added a filter to subscriber view to see which newslttr they signed up
for
Diffstat (limited to 'app/lttr/admin.py')
-rw-r--r-- | app/lttr/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
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',) |