Brandon Taylor
789f22b69b
Merge branch 'sortable-by-refactor'
2011-11-22 22:25:45 -06:00
Brandon Taylor
fe01094ac6
Merge branch 'master' of github.com:btaylordesign/django-admin-sortable
2011-11-22 21:00:19 -06:00
Brandon Taylor
fd06064d48
Mode switches.
2011-11-22 20:58:09 -06:00
unknown
1b9c5c0a64
Refactored sortable_by into a property instead of a classmethod.
...
Added backwards compatibility for pre 1.1.1 versions that still have sortable_by defined as a classmethod.
Need to address dynamic regroup template tag to see why categories are not being grouped properly in sample app.
2011-11-22 20:42:36 -06:00
Brandon Taylor
fba568399c
Eliminated setting of self.order to 1 if Max returns None, as order has a default value of 1 defined in the field.
2011-11-16 20:50:12 -06:00
Brandon Taylor
7a242dd41c
Refactored classmethods to use aggregation Max instead order_by.
2011-11-16 20:24:33 -06:00
Brandon Taylor
8365043e0e
Modified classmethod queries that determine if a Model is sortable to only retieve one record and not use count.
...
Fixed jQueryUI highlight method call in success handler of ajax function when dragging stops.
Fixed missing script resource for jquery.effects.core.js
2011-11-16 00:48:14 -06:00
Brandon Taylor
4e38d8fbe1
Adding files to repo.
2011-08-31 19:51:02 -05:00