equal
deleted
inserted
replaced
192 `allowed_massmail_keys` method. |
192 `allowed_massmail_keys` method. |
193 """ |
193 """ |
194 return dict( (attr, getattr(self, attr)) for attr in self.allowed_massmail_keys() ) |
194 return dict( (attr, getattr(self, attr)) for attr in self.allowed_massmail_keys() ) |
195 |
195 |
196 |
196 |
197 |
197 """pluggable mixins system: plug classes registered in MI_REL_TRIGGERS on entity |
|
198 classes which have the relation described by the dict's key. |
|
199 |
|
200 NOTE: pluggable mixins can't override any method of the 'explicit' user classes tree |
|
201 (eg without plugged classes). This includes bases Entity and AnyEntity classes. |
|
202 """ |
198 MI_REL_TRIGGERS = { |
203 MI_REL_TRIGGERS = { |
199 ('primary_email', 'subject'): EmailableMixIn, |
204 ('primary_email', 'subject'): EmailableMixIn, |
200 ('use_email', 'subject'): EmailableMixIn, |
205 ('use_email', 'subject'): EmailableMixIn, |
201 } |
206 } |
202 |
207 |