From: Joseph Spiros Date: Mon, 9 Aug 2010 09:28:56 +0000 (-0400) Subject: Fixed a grave error wherein Node did not have a TreeManager as its default manager... X-Git-Tag: philo-0.9~42 X-Git-Url: http://git.ithinksw.org/philo.git/commitdiff_plain/e3037e2cf8a7ad3d0c3dba94083d1753301f581b?hp=--cc Fixed a grave error wherein Node did not have a TreeManager as its default manager, due to superclasses being declared in an order incompatible with Entity's use of EntityBase as its metaclass. --- e3037e2cf8a7ad3d0c3dba94083d1753301f581b diff --git a/models/base.py b/models/base.py index 2a94daa..7a872ca 100644 --- a/models/base.py +++ b/models/base.py @@ -275,7 +275,7 @@ class TreeModel(models.Model): abstract = True -class TreeEntity(TreeModel, Entity): +class TreeEntity(Entity, TreeModel): @property def attributes(self): if self.parent: