4 ms·
Well, I already wrote my own form/admin helpers. (Wanna see them? Email me at martin at diers dot us.) What I'm trying to do now is do an integration with jsTr
by teilo 17y ago
Well, I already wrote my own form/admin helpers. (Wanna see them? Email me at martin at diers dot us.)
What I'm trying to do now is do an integration with jsTree, so that I can do drag-and-drop reordering of my CMS pages in the Admin.
As it is now, I have a MoveNodeForm showing up in the Admin's change list for each row, and I created a modified version of the result_list tag to enforce tree order (since you can't sort by two columns in the Django Admin), and pad the object names with spaces to represent the tree structure visually. It works, but it's hokey.