Hi Jason,
Thanks for explaining. I suppose I was trying to make my problem
harder than it really is.
My answer for the problem of a user who wants to remove or insert a
chapter is to use a field called 'sequence_number'.
If a user deletes or adds a chapter, I have a pre-save function that
(1) loo
"maybe a chapter needs to be added as the
13th chapter in a Book, for example"
MPTT and the other trees are mainly used on data structures where node
insertion might happen anywhere on a tree.
In your case, you only put chapters in books and would never move a
chapter inside of a 'Library' or insi
hi,
I think mptt or treebeard may be a good fit for my project, but I'm
not sure. Currently I have the project setup in a conventional way
with no explicit tree structure, just a pattern of ForeignKey usage.
It works, but I'm beginning to get into some complexity.
The project is for building (comp
3 matches
Mail list logo