Commit 2b90035a authored by Simon Hanna's avatar Simon Hanna

Use pipelines exposed by Mailman's rest api

parent b7a4e920
......@@ -26,6 +26,8 @@ from django.utils.translation import ugettext_lazy as _
from django.utils.version import get_complete_version
from django.contrib.sites.models import Site
from django_mailman3.lib.mailman import get_mailman_client
("hold", _("Hold for moderation")),
......@@ -555,10 +557,8 @@ class AlterMessagesForm(ListSettingsForm):
'required': _("Please choose a reply-to action.")},
('default-owner-pipeline', _('default-owner-pipeline')),
('default-posting-pipeline', _('default-posting-pipeline')),
('virgin', _('virgin'))),
choices=lambda: ((p, p) for p in get_mailman_client()
help_text=_('Type of pipeline you want to use for this mailing list'))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment