We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cedb3d commit 83e2313Copy full SHA for 83e2313
docs/models.md
@@ -121,6 +121,12 @@ class Category(TreeNodeModel):
121
122
This approach ensures full Django integration, efficient queries, and correct hierarchical behavior.
123
124
+> **Important:**
125
+> Do **not** override `Meta.ordering` in models based on `TreeNodeModel`.
126
+> Internal ordering relies on the `_path` field to keep the hierarchy intact in the admin interface and elsewhere.
127
+> To control sibling order, use the `sorting_field` attribute instead.
128
+
129
130
---
131
132
### Model Extending
0 commit comments