Thread Previous • Date Previous • Date Next • Thread Next |
Le 16/01/2013 22:00, Jerzy Or?owski a écrit :
One thing I noticed when developing 2 modules with models that inherit from the same base model, is that the order in which they are "stacked" is not predictable (depends on which module is loaded/installed first).a=self.__class__.__bases__[0] b=a.__bases__[0] result = super(b, self).create() Seems to be working
So, I think you can't count on the super-super class to be what you think... Lionel Sausin.
Thread Previous • Date Previous • Date Next • Thread Next |