--- a/common/mixins.py Fri Nov 27 09:36:58 2009 +0100
+++ b/common/mixins.py Fri Nov 27 10:23:11 2009 +0100
@@ -194,7 +194,12 @@
return dict( (attr, getattr(self, attr)) for attr in self.allowed_massmail_keys() )
+"""pluggable mixins system: plug classes registered in MI_REL_TRIGGERS on entity
+classes which have the relation described by the dict's key.
+NOTE: pluggable mixins can't override any method of the 'explicit' user classes tree
+(eg without plugged classes). This includes bases Entity and AnyEntity classes.
+"""
MI_REL_TRIGGERS = {
('primary_email', 'subject'): EmailableMixIn,
('use_email', 'subject'): EmailableMixIn,