From 902ef7a949dc2ef8e3c7b25d3d1d8178a9542570 Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Wed, 20 Nov 2019 17:41:15 +0100 Subject: [PATCH] Fix mailing list component. --- musician/models.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/musician/models.py b/musician/models.py index 3904aa3..9ba8d00 100644 --- a/musician/models.py +++ b/musician/models.py @@ -34,6 +34,8 @@ class OrchestraModel: c = cls(**json_data) c._json = data + # TODO(@slamora) remove/replace by private variable to ovoid name collisions + c.data = data return c @@ -99,6 +101,10 @@ class MailinglistService(OrchestraModel): api_name = 'mailinglist' verbose_name = 'Mailing list' fields = ('name', 'status', 'address_name', 'admin_email', 'configure') + param_defaults = { + 'name': None, + 'admin_email': None, + } @property def status(self):