Code

Changes between Initial Version and Version 1 of Ticket #13, comment 87


Ignore:
Timestamp:
01/31/11 04:14:19 (3 years ago)
Author:
dokterbob
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13, comment 87

    initial v1  
    55As 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. 
    66 
    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. 
     7To 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. 
    88 
    99Meanwhile, I have spotted the following tickets relating to this same issue - parts of which I used for writing the - still very incomplete - patch: