Commit graph

84 commits

Author SHA1 Message Date
Brandon Taylor
cffbd8534e Working on updating documentation and sample project 2013-02-28 22:07:16 -05:00
Brandon Taylor
8662ebae88 Merged changes from return1-django-v1.5 master 2013-02-28 21:52:07 -05:00
Brandon Taylor
1bf768bf02 Updated version to 1.3.9 2013-01-06 20:40:00 -05:00
Brandon Taylor
c7230002e8 Updated readme.
Added jquery.effects.core.js back to static files.
2013-01-06 20:39:05 -05:00
Brandon Taylor
05c9119941 Merge pull request #23 from evildmp/master
Readme file meta class example
2013-01-06 05:58:22 -08:00
evildmp
9a03ea0564 minor readme corrections 2013-01-05 23:20:39 +00:00
Brandon Taylor
0ae9b5819d Updated documentation to include gotchas for existing models 2012-12-25 22:10:26 -05:00
iambrandontaylor
c34d067e10 Merge pull request #20 from cpinto/patch-1
Update adminsortable/templatetags/django_template_additions.py
2012-11-26 09:06:48 -08:00
Celso Pinto
fed05de9ad Update adminsortable/templatetags/django_template_additions.py
Added support for django 1.3
2012-11-24 20:06:34 +00:00
Brandon Taylor
1614e77b75 Updated readme and version 2012-11-19 00:10:40 -05:00
Brandon Taylor
4812a81bb0 Merge pull request #19 from ionelmc/master
Minor fixes for tabular inline
2012-11-18 09:17:24 -08:00
Ionel Maries Cristian
d6efa21939 Disable ordering on .add-row. 2012-11-18 15:56:01 +02:00
Ionel Maries Cristian
5ef23ebca7 Fix wrong name for css file. 2012-11-18 15:36:24 +02:00
Brandon Taylor
ffba0fa984 Merge pull request #18 from tonycosentini/master
Added TEMPLATE_CONTEXT_PROCESSORS bit to README.
2012-11-07 10:49:37 -08:00
Tony Cosentini
b81bb27e3d Added TEMPLATE_CONTEXT_PROCESSORS to README. 2012-11-07 10:42:25 -08: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
9145da6a23 Updated version to 1.3.6, which also somehow didn't make it into the previous release 2012-11-02 13:38:19 -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
c9a20b0838 Updated version to 1.3.5 2012-09-30 21:43:04 -04:00
Brandon Taylor
13af5f8142 Fixed exception handling in 'is_sortable' classmethod 2012-09-30 21:41:17 -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
Brandon Taylor
d22307c8fb Merge pull request #13 from BlindHunter/master
Merging pull request to enable per-model override of templates.
2012-09-24 07:13:00 -07:00
Alexander A. Sosnovskiy
754bd78210 Fixed tests for app application. 2012-09-24 16:49:33 +03:00
Alexander A. Sosnovskiy
1c2964c566 Unable to sort in more than one application in project - fixed. 2012-09-24 15:12:07 +03:00
Alexander A. Sosnovskiy
22cd63a4ba It was impossible to override sortable_javascript_includes_template. Fixed. 2012-09-24 12:16:20 +03:00
Alexander A. Sosnovskiy
dfbe590767 Templates can be overriden now. 2012-09-23 21:37:58 +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
7a000f1724 Fixed version in __init__ 2012-04-23 23:18:37 -05:00
Brandon Taylor
98320aefe9 Incremented version to 1.3.1 2012-04-23 23:13:35 -05:00
Brandon Taylor
e6e0d728d7 Removed initial_data which was breaking unit tests. 2012-04-23 23:11:11 -05:00
Brandon Taylor
e8e20f0f48 Merge pull request #8 from return1/master
made django-admin-sortable work on models with descending order
2012-04-20 14:01:18 -07:00
Dominique Lederer
4ed0db3304 fixed a typo, regenerated language files 2012-03-15 10:12:28 +01:00
Dominique Lederer
1b98d00a30 removing obsolete css file references (404) 2012-03-15 10:08:06 +01:00
Dominique Lederer
fef90e6d0c make adminsortable work with descending ordering 2012-03-15 09:58:52 +01:00
Dominique Lederer
cbbcf901fc remove root_path, which produces an error on django 1.4 and also is not used in the template 2012-03-15 09:39:55 +01:00
Brandon Taylor
49b7d7d0e3 Added south field triple to SortableForeignKey field 2012-03-07 21:52:57 -06:00
Brandon Taylor
09f86f83bb Fixed IndexError 2012-02-24 22:56:47 -06:00
Brandon Taylor
4e918cbe4b Updated README to provide example of usage of SortableForeignKey. 2012-02-24 22:51:22 -06:00
Brandon Taylor
0eb5c86dc8 Updated README to reflect changes present in 1.3 2012-02-24 22:47:44 -06: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
unknown
fd43051c36 Fixed version tuple. 2011-11-23 08:56:01 -06:00
Brandon Taylor
b16def5c09 Merged changes from sortable-by-refactor.
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:27:20 -06:00
Brandon Taylor
789f22b69b Merge branch 'sortable-by-refactor' 2011-11-22 22:25:45 -06:00
Brandon Taylor
7c7fbd5130 Adding sqlite db with sample project data. 2011-11-22 22:25:11 -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
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