Originally GC 34
refactor django-mptt to be a set of abstract models that can be extended.
I think this would be a more elegant solution thant the current monkey
insin (12 Oct 08):
I've not looked into abstract models at all yet, but they're definitely the approach
I'd rather take if possible.
mocksoul (06 Dec 08):
Yep, this is good idea. Also I want mptt to attach methods on model instances like
Model.mptt.is_root(), not Model.is_root(). For clearer code and stability (avoid
name collisions in large projects).
craigds (02 Sep 10):
I'm definitely +1 for this. Will either be 0.4 or 0.5
craigds (12 Sep 10):
Created a branch for this: http://github.com/django-mptt/django-mptt/tree/abstract-models-refactor
This is a major refactor, may not be sane anytime soon.
craigds (18 Sep 10):
All the tests now pass on the new branch. Backwards incompatible changes:
craigds (20 Sep 10):
Issue 52 has been merged into this issue.
craigds (23 Sep 10):
Merged to master in [http://github.com/django-mptt/django-mptt/commit/a7876509f4cbc35b25a76abd860e10eb6ac7ed11 a787650]
craigds (27 Sep 10):
Some discussion in FeinCMS project, around using multiple inheritance for MPTTModel subclasses: