some doc stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 27 Nov 2009 10:23:11 +0100
branchstable
changeset 3926 0585694c1896
parent 3925 25d5830b9531
child 3927 b2a6c25b8429
some doc
common/mixins.py
--- 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,