Closed GoogleCodeExporter closed 9 years ago
Interesting use case.
The registration is now done earlier, during class creation. That's why
inserting the bases after class creation doesn't work.
I've added a possible workaround in this branch
http://github.com/django-mptt/django-mptt/tree/gc77-registration-postcreation
To use it, just do
from mptt.models import MPTTModelBase
MPTTModelBase.register(Group, order_insertion_by='foo', ...)
Can you try that and see if it solves your problem? I haven't tested it much at
all, I'm guessing there'll be some weird issues with it...
Original comment by craig.ds@gmail.com
on 20 Oct 2010 at 11:13
Closing in favour of
[http://github.com/django-mptt/django-mptt/issues/#issue/19 GH-19]
Rémy, I'd still like your feedback, please try the branch and comment on GH-19
with your thoughts, thanks.
One of these days Github will sort out the issues with their API and I'll
migrate all these GC tickets to Github...
Original comment by craig.ds@gmail.com
on 26 Oct 2010 at 10:57
Original issue reported on code.google.com by
remy.san...@hyperthese.net
on 19 Oct 2010 at 7:54