From 4cdff1f0db3f4810c509ab1c0a3d39b77c06aaa3 Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Thu, 23 Nov 2023 18:48:47 +0100 Subject: [PATCH] Fix MailingListsView --- orchestra/contrib/musician/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/orchestra/contrib/musician/views.py b/orchestra/contrib/musician/views.py index 76704642..c958e552 100644 --- a/orchestra/contrib/musician/views.py +++ b/orchestra/contrib/musician/views.py @@ -24,6 +24,7 @@ from requests.exceptions import HTTPError from orchestra import get_version from orchestra.contrib.bills.models import Bill from orchestra.contrib.domains.models import Domain +from orchestra.contrib.lists.models import List from orchestra.contrib.mailboxes.models import Address, Mailbox from orchestra.contrib.saas.models import SaaS from orchestra.utils.html import html_to_pdf @@ -307,6 +308,7 @@ class AddressDeleteView(CustomContextMixin, UserTokenRequiredMixin, DeleteView): class MailingListsView(ServiceListView): service_class = MailinglistService + model = List template_name = "musician/mailinglists.html" extra_context = { # Translators: This message appears on the page title