You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class BaseTreeNode(PolymorphicMPTTModel):
pass
class Edition(BaseTreeNode):
pass
class Chapter(BaseTreeNode):
pass
class ContentPage(BaseTreeNode):
pass
class Text(BaseTreeNode):
pass
When I move Chapter2 above Chapter1, all the actions of it's subnodes will become equal to the Chapter node. (While they should remain ContentPage-actions).
In other words, the tree will look like this:
- Edition1 [actions: add-chapter]
-- Chapter2 [actions: add-contentpage]
--- ContentPage2.1 [actions: add-contentpage] <---- this is not correct
-- Chapter1 [actions: add-contentpage]
--- ContentPage1.1 [actions: add-text]
--- ContentPage1.2 [actions: add-text]