Changes between Initial Version and Version 1 of Ticket #13, comment 87
- Timestamp:
- Jan 31, 2011, 6:14:19 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13, comment 87
initial v1 5 5 As fixing/completing this feature should be fairly easy for someone who's used to getting into the debts of the (very scarcely documented) Admin/Model internals, it might not even be too unrealistic to have this fixed before 1.3 or the first point release after. 6 6 7 To make it a bit easier, I have made a start by providing this patch which fixes at least the `get_ordered_objects` method of Model's `_meta`. This causes the Admin to load a non-existant file `dom-drag.js` which should be replaced by a jQuery equivalent thereof. Furthermore, the InlineModelAdmin's formset should have it's `can_order` parameter set to `True`, I believe, to allow for the ordering to get through to the Admin in the first place.7 To make it a bit easier, I have made a start by providing this patch which fixes at least the `get_ordered_objects` method of Model's `_meta`. This causes the Admin to load a non-existant file `dom-drag.js` which should be replaced by a jQuery equivalent thereof. This one's attached to #2137 for now. Furthermore, the InlineModelAdmin's formset should have it's `can_order` parameter set to `True`, I believe, to allow for the ordering to get through to the Admin in the first place. A (broken) patch for this is attached to #9338. 8 8 9 9 Meanwhile, I have spotted the following tickets relating to this same issue - parts of which I used for writing the - still very incomplete - patch: