September 15, 2008

Orderable inlines using drag and drop with jQuery UI

An easy way of making inlines orderable using drag-and-drop, using jQuery UI's sortable() plugin. First, add an "order" field to the inline models which is an IntegerField, and set that model to use 'order' as its default order_by. Link Posted by Tim at September 15, 2008 06:58 AM | TrackBack