Commit Graph

23 Commits (279477da7ba1dbdf84e85d6d2f63910f88bf4b5e)

Author SHA1 Message Date
intelliadmin 279477da7b added generic inlines support 2013-03-15 10:10:01 +01:00
Brandon Taylor a54e81434f Minor modifications for Django 1.5.x and 1.4.x backward-compatibility.
Added new sample project.
Improved documentation.
Refactored CSS selector for inlines that are sortable.
2013-03-10 20:53:05 -04:00
Brandon Taylor cffbd8534e Working on updating documentation and sample project 2013-02-28 22:07:16 -05:00
Brandon Taylor e206dfc30c Fixed application of CSS class 'sortable' to stacked inline elements that are sortable which was somehow excluded from the previous release. 2012-11-02 13:49:30 -04:00
Brandon Taylor a66757d728 Fixed the changed to the get_do_sorting_url template tag that somehow didn't make it into the previous release. 2012-11-02 13:33:55 -04:00
Brandon Taylor 810f8a0dd4 Fixed the inline stacked sortable template by passing in the original object rather than passing in the model type id of the original object.
Various PEP8 enhancements.
2012-11-02 09:04:32 -04:00
Brandon Taylor 04bdb80637 Removed individual jQueryUI JavaScript files in favor of loading jQueryUI from Google Ajax API.
Updated jQuery to latest version from Google Ajax API.
Integrated pull-request from BlindHunter to add the ability to override templates on a per-model basis.
Updated README.
2012-09-25 10:52:31 -04:00
Alexander A. Sosnovskiy 754bd78210 Fixed tests for app application. 2012-09-24 16:49:33 +03:00
Brandon Taylor 866adffd7b Updated CSS classing of sortable inline and stacked items.
Concatenated classing of sortable inlines into one stylesheet.
Updated version to 1.3.3
Updated README
2012-07-09 11:05:59 -04:00
Brandon Taylor 484f00d263 Updated version to 1.3.2.
Updated status to stable/production.
Added AttributeError exception handling for models that specify a SortableForeignKey that does not inherit from Sortable.
Added template support for nested objects that are sortable by a foreign key, where the foreign key is not sortable.
2012-06-07 09:38:36 -04:00
Brandon Taylor e6e0d728d7 Removed initial_data which was breaking unit tests. 2012-04-23 23:11:11 -05:00
Brandon Taylor 37f91cce97 Added SortableForeignKey field to replace `sortable_by` model property.
Refactored how the sortable_by properties get populated by looping over the model fields until we get to the SortableForeignKey, then grabbing properties from the field and its related data.
2012-02-24 22:35:30 -06:00
Brandon Taylor 63a80f5953 Incremented version to 1.2.
Refactored ORM calls to properly order objects by the sortable_by property to ensure objects are grouped correctly in the sortable change list template after being passed through dynamic_regroup.
Fixed missing import for jquery.effects.core, again.
Refactored sortable_by classmethod into a property.
2011-11-22 22:19:39 -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 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 638f26df27 Updated version to 1.1.0 2011-10-04 12:36:31 -05:00
Brandon Taylor e1311fc6f5 Added support for non-numeric primary keys 2011-09-17 16:48:14 -05:00
Brandon Taylor 31f28d5b50 Removed all .pyc files 2011-09-14 09:17:31 -05:00
Brandon Taylor 2f2aeff0ec Fixed if statements so they won't bomb if inline class doesn't subclass sortable. 2011-09-03 22:46:05 -05:00
Brandon Taylor d67112e66d Added login credential information to main README.
Added README for sample_project that also contains login credentials for the impatient.
2011-09-03 22:21:37 -05:00
Brandon Taylor 971de8423c Added support for stacked inline models.
Added highlighting to sorted inline.
Added migrations to add Note class to database.
Added SortableInlineBase for checking type of model specified in inline model subclasses Sortable.
2011-09-03 22:02:48 -05:00
Brandon Taylor 4e38d8fbe1 Adding files to repo. 2011-08-31 19:51:02 -05:00