Fix MailingListsView

This commit is contained in:
Santiago L 2023-11-23 18:48:47 +01:00
parent 2634972e89
commit 4cdff1f0db
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ from requests.exceptions import HTTPError
from orchestra import get_version from orchestra import get_version
from orchestra.contrib.bills.models import Bill from orchestra.contrib.bills.models import Bill
from orchestra.contrib.domains.models import Domain 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.mailboxes.models import Address, Mailbox
from orchestra.contrib.saas.models import SaaS from orchestra.contrib.saas.models import SaaS
from orchestra.utils.html import html_to_pdf from orchestra.utils.html import html_to_pdf
@ -307,6 +308,7 @@ class AddressDeleteView(CustomContextMixin, UserTokenRequiredMixin, DeleteView):
class MailingListsView(ServiceListView): class MailingListsView(ServiceListView):
service_class = MailinglistService service_class = MailinglistService
model = List
template_name = "musician/mailinglists.html" template_name = "musician/mailinglists.html"
extra_context = { extra_context = {
# Translators: This message appears on the page title # Translators: This message appears on the page title