Source code for mailing_lists.admin
__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)"
__license__ = "AGPL v3"
from django.contrib import admin
from .models import MailchimpList
[docs]class MailchimpListAdmin(admin.ModelAdmin):
list_display = ["__str__", "mailchimp_list_id", "status"]
list_filter = ["status"]
admin.site.register(MailchimpList, MailchimpListAdmin)