paperwork: Slightly change structure of mailing lists api for Mailman3
This commit is contained in:
parent
9341bcba0e
commit
a51f246667
@ -59,10 +59,10 @@ class DepartmentViewSet(viewsets.ModelViewSet):
|
|||||||
lists[department.list_name] = {
|
lists[department.list_name] = {
|
||||||
"config": {
|
"config": {
|
||||||
"real_name": department.list_name,
|
"real_name": department.list_name,
|
||||||
"moderator": moderator_emails,
|
|
||||||
"subject_prefix": f"[CMS {department.name}] ",
|
"subject_prefix": f"[CMS {department.name}] ",
|
||||||
"reply_to_address": department.list_reply_to_address,
|
"reply_to_address": department.list_reply_to_address,
|
||||||
},
|
},
|
||||||
|
"moderators": moderator_emails,
|
||||||
"members": active_certified_members,
|
"members": active_certified_members,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user