django-tree-queries
django-tree-queries copied to clipboard
Migration from django-mptt
It would be so nice to find a "migrate from django-mptt" section in the docs!
That's an excellent idea!
This is a related issue: https://github.com/matthiask/feincms3/issues/2
My current thinking is:
- Add a
positionfield - Set
position = tree_id * 100000 + lft - Ensure that the model has
ordering = ["position"]set in itsclass Meta: - Remove the MPTT fields
... and things should just work from there.
Now, I (or someone) should verify that this works and then write the docs for it.
@matthiask hi, as i understand your idea i did it smth u can check #74.