common/mixins.py
branchstable
changeset 3926 0585694c1896
parent 3830 3b6bbb3a3c3e
child 3998 94cc7cad3d2d
child 4212 ab6573088b4a
--- 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,