Drag and drop ordering of admin list elements for Grappelli [v2]
Adds drag-and-drop ordering of rows in the admin list view for Grappelli. This is a updated version of Snippet #2306 that works with the current version of Grappelli.
The model needs to have a field holding the position and that field has to be made list_editable in the ModelAdmin. The changes of the ordering are applied after clicking 'Save'.
Works in Django 1.6 but need to change the definition of
MyModelAdmin with something like as follows:
list_display_links = ('field_1',)
list_display = ('field_1', 'field_1', ..., 'position',)
list_editable = ('position',)