diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/lttr/admin.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/lttr/admin.py b/app/lttr/admin.py index 9753113..60ec68a 100644 --- a/app/lttr/admin.py +++ b/app/lttr/admin.py @@ -2,7 +2,7 @@ from django.contrib import admin from utils.widgets import AdminImageWidget, LGEntryForm -from .models import NewsletterMailing, OldNewsletterMailing, Subscriber, Newsletter, MailingStatus +from .models import NewsletterMailing, OldNewsletterMailing, Subscriber, Newsletter, MailingStatus, PostcardSubscriber @admin.register(Subscriber) class SubscriberAdmin(admin.ModelAdmin): @@ -84,3 +84,11 @@ class NewsletterMailingAdmin(admin.ModelAdmin): css = { "all": ("my_styles.css",) } + +@admin.register(PostcardSubscriber) +class PostcardSubscriberAdmin(admin.ModelAdmin): + list_display = ('date_created ', 'name', 'address') + + class Media: + js = ('next-prev-links.js',) + |