Fix mailing list component.

This commit is contained in:
Santiago Lamora 2019-11-20 17:41:15 +01:00
parent 8a2d409e32
commit 902ef7a949

View file

@ -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):