On 5/20/21 2:28 PM, Andreas Barth wrote:
Any hints how to do that best? Is it possible to store custom attributes, or should that be stored elsewhere?
Storing custom attributes as part of the MailingList object would require modifying the model in mailman/model/mailinglist.py and probably creating an alembic migration https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/databa.... This would add significant complication to upgrading Mailman core.
I think a better approach would be to store custom attributes in a separate database table.
Also, you might look at plugins as a way to access your custom attributes via REST without having to modify Mailman core itself.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan