fabiocaccamo / django-treenode

:deciduous_tree: probably the best abstract model/admin for your tree based stuff.
MIT License
661 stars 32 forks source link

Add drag-and-drop support #2

Open cyberbudy opened 6 years ago

cyberbudy commented 6 years ago

Would be a nice feature to change tree in the changelist view with just drag-and-drop

Fund with Polar

ghost commented 6 years ago

Yes, it's hard to change the order of items without it.

raagin commented 3 months ago

Hi, Fabio! Thanx for your work. What the status of this issue? And how can I even change the order of the nodes?

fabiocaccamo commented 3 months ago

@raagin thank you!

Unfortunately I've not time to work on new features at the moment.

For changing the order, you have to edit the int value of the order field in the admin changelist.

raagin commented 3 months ago

Than you for answer!

For changing the order, you have to edit the int value of the order field in the admin changelist.

But i see that order it is not a field in TreeNodeModel @property def order(self): return self.get_order()

fabiocaccamo commented 3 months ago

@raagin sorry, I was wrong, I meant the "priority" field.