Commit Graph

473 Commits (b0df1ff70123dd80138deb4bcbe1a7ba2647b87e)

Author SHA1 Message Date
Brandon Taylor 27ae0d95e8 Merge pull request #103 from TomaszGabrysiak/add-polish-translation
add polish translation
2015-04-01 11:59:23 -04:00
Tomasz Gabrysiak a34adef6ba add polish translation 2015-03-30 21:17:49 +02:00
Brandon Taylor 4f16fd266c Version bump to 1.8.1.
Updated readme.
2015-03-24 09:19:58 -04:00
Brandon Taylor ca6d4ee8ed Removed debugging information. 2015-03-24 09:13:33 -04:00
Brandon Taylor f09a6b5bff Merge pull request #102 from flyingeek/master
fix sortable function not found
2015-03-24 09:04:07 -04:00
flyingeek 4a6a97a663 fix sortable function not found
Adminsortable uses django.jQuery
2015-03-24 13:40:07 +01:00
Brandon Taylor b8b644b77c Merge pull request #101 from a1tus/master
Refactored import from generic module to get rid of DeprecationWarning in Django 1.8+
2015-02-26 09:08:40 -05:00
ILYA cbc27663a3 Refactored import from generic module to get rid of DeprecationWarning 2015-02-25 19:38:29 +03:00
Brandon Taylor 0af13803fb Version bump to 1.8.0.
Updated readme.
2015-01-12 22:56:38 -05:00
Brandon Taylor 50b113bac1 Merge pull request #100 from aptivate/fix_sortable_fk_changelist
Fix sort changelist for objects with sortable fk
2015-01-12 22:52:30 -05:00
tomd 7f0519afbe Fix sort changelist for objects with sortable fk
Loading the test app '/admin/app/project/sort/' changelist failed with
the following error:

UnboundLocalError: local variable 'objects' referenced before assignment

(utils.py, check_model_is_sortable)

See test sample_app test_adminsortable_change_list_view_loads_with_sortable_fk
2015-01-12 15:40:33 +00:00
Brandon Taylor a64d86a219 Merged PR 99.
Bumped version to 1.7.9.1
2014-12-27 12:45:49 -05:00
Brandon Taylor 0bff2f893f Merge pull request #99 from mark-ignacio/master
Remove print statements and fix shared/object_rep.html
2014-12-27 12:41:32 -05:00
mark@ignacio.io da39cf7497 re-enabled href in shared/object_rep.html 2014-12-27 12:18:10 -05:00
mark@ignacio.io d841ebfbfe removed print statements 2014-12-27 12:12:47 -05:00
Brandon Taylor 936ac0fd34 Merge pull request #98 from matt-leach/master
adding travis 1.5.10 test back in
2014-12-22 15:59:47 -05:00
matt-leach 160a65dae7 adding travis 1.5.10 test back in 2014-12-22 19:45:12 +00:00
Brandon Taylor 740d3fff15 Version bump to 1.7.9.
Updated README.
2014-12-22 10:37:44 -05:00
Brandon Taylor 34e5d62245 Fixed merge conflict. 2014-12-22 10:30:56 -05:00
Brandon Taylor a3c1f4457a Fixed merge conflicts. 2014-12-22 10:27:46 -05:00
Brandon Taylor 01403f1b8c Merged pull request 97 2014-12-22 10:25:35 -05:00
Brandon Taylor e83e31cb22 Merge pull request #97 from matt-leach/master
Django 1.5.x compatibility updates
2014-12-22 10:19:32 -05:00
matt-leach e0b38fb705 Using __class__ to get model class as model is not an attribute of class Meta in Django 1.5.x 2014-12-22 14:57:17 +00:00
matt-leach c7f2d63ec9 calling the correct queryset/get_queryset for VERSION 2014-12-22 14:44:02 +00:00
matt-leach cf1a2103dd Updating VERSION comparison to be compatible with all 1.5.x 2014-12-22 14:36:15 +00:00
Brandon Taylor dfc654121c Version to 1.7.8.
Updated readme.
2014-11-19 11:10:28 -05:00
Brandon Taylor ebda962dfe Update Travis config. 2014-11-19 11:07:05 -05:00
Brandon Taylor 7636e0e729 Update Travis config. 2014-11-19 11:05:44 -05:00
Brandon Taylor 7cd8f7cad3 Added Python 3 compatibility to sample project.
Removed utils file and moved map_path function to settings.py.
Refactored tests for Python 2 and 3 compatibility.
Added inheritance check to get proper determination if a SortableForeignKey field is defined but the specified model does not inherit from Sortable.
2014-11-19 10:58:55 -05:00
Brandon Taylor 81fc032c8b Merge pull request #96 from MagicSolutions/fix_js_for_inlines
Make inlines to work corectly with non sortable inlines
2014-11-18 10:17:12 -05:00
Venelin Stoykov cbce6debb4 Update sample_project for easy testing sortable and nonsortable inlines 2014-11-18 17:04:58 +02:00
Venelin Stoykov cfcf6b1a46 Make inlines to work corectly with non sortable inlines 2014-11-18 17:04:20 +02:00
Brandon Taylor daadd190cb Added sortable non-online category example. 2014-11-08 08:49:07 -05:00
Brandon Taylor bcd328a101 Added child to str representation of self-referential model. 2014-11-03 11:19:59 -05:00
Brandon Taylor c855ad8be3 Updated version in readme. 2014-11-03 10:51:41 -05:00
Brandon Taylor a7179fece4 Version bump to 1.7.7.
Updated readme with notes on self-referential SortableForeignKeys.
2014-11-03 10:50:02 -05:00
Brandon Taylor a48cf00396 Added migrations, fixed queryset call and fixed meta inheritance for self-referential sample model. 2014-11-03 10:45:50 -05:00
Brandon Taylor 7c60d89c71 Data changes from testing. 2014-11-03 10:44:31 -05:00
Brandon Taylor e521d5c8ad Added extra check for object when sorting self-referential models. 2014-11-03 10:44:11 -05:00
Brandon Taylor 612c4f8031 Added method to check for self-referential sortable foreign keys. 2014-11-03 10:43:41 -05:00
Brandon Taylor d332563e27 Fixed call to queryset object for Django >= 1.7 2014-11-03 10:43:13 -05:00
Brandon Taylor 13945375f1 Version bump to 1.7.6.
Updated readme.
2014-10-24 20:43:12 -04:00
Brandon Taylor 42ae56af0b Changes to data from manual testing. 2014-10-24 20:38:13 -04:00
Brandon Taylor 0ac0b56121 Removed unused objects.
Added Person create statements and removed call to fixture data to prevent migration problems across Django versions.
2014-10-24 20:35:55 -04:00
Brandon Taylor be52851f38 Added new model and data. 2014-10-24 20:35:02 -04:00
Brandon Taylor ff4bc9b676 Deleted initial data fixture. 2014-10-24 20:34:42 -04:00
Brandon Taylor 5e318551ca Wired up SortableNonInlineCategory model to admin. 2014-10-24 20:34:06 -04:00
Brandon Taylor 6ec43fcd76 Added new model class to demonstrate a sortable model with a foreign key that is not sortable that is not defined as an inline. 2014-10-24 20:32:53 -04:00
Brandon Taylor 5eaf0987b9 Added a space after the legacy sortable_by parameter to separate it. 2014-10-24 20:31:02 -04:00
Brandon Taylor 116a933d92 Updated comments to be clearer.
Minor formatting changes.
Cahnged check for sortable_by_class_is_sortable to use new check_model_is_sortable, rather than only relying on the number of objects.
2014-10-24 20:30:14 -04:00