Commit Graph

495 Commits (10188ec8ac3fe8e0c2c4faac0703df30a9193488)

Author SHA1 Message Date
Brandon Taylor 6c44bbb2a5 Added some test data. 2015-09-07 21:41:24 -04:00
Brandon Taylor 2543f02ce7 Fixed a typp in adminsortable/fields.py comments.
Updated readme.
2015-09-07 21:26:36 -04:00
Brandon Taylor bee71e6d40 Refactored order_field_name out of Sortable class, instead deriving from Meta.ordering, since you have to set Meta.ordering to the order field to get the proper Sorting anyway. 2015-09-02 09:38:10 -04:00
Brandon Taylor 74a6cadf8d Added legacy model definition back for seamless backwards compatibility.
Updated readme.
Added sample legacy model implementation.
2015-08-24 12:55:56 -04:00
Brandon Taylor 827f5f092e Removed migrations from sample_project. 2015-08-24 11:48:30 -04:00
Brandon Taylor c8b1211ddd Changed travis config to only develop branch. 2015-08-24 11:43:01 -04:00
Brandon Taylor 51033ea8f6 Updated travis config. 2015-08-24 09:19:58 -04:00
Brandon Taylor c50541aa74 Version bump to 1.8.5.
Updated readme.
2015-08-24 09:18:54 -04:00
Brandon Taylor 6c5a9058fe Minor PEP8, text and formatting tweaks. 2015-08-24 08:18:22 -04:00
Brandon Taylor 64b8b9dc39 Added model with custom order field and inline model with custom order field example. 2015-08-24 08:04:05 -04:00
Brandon Taylor 43fef78876 Work in progress on refactoring the Sortable class into a non-obtrusive mixin. 2015-08-23 22:25:55 -04:00
Brandon Taylor b14d747f82 Work in progress on refactoring the Sortable class into a non-obtrusive mixin. 2015-08-23 22:23:45 -04:00
Brandon Taylor 422343ff93 Updated readme. 2015-07-05 23:13:03 -04:00
Brandon Taylor 100177f11d Version bump to 1.8.4 2015-07-05 23:04:03 -04:00
Brandon Taylor 3fd7d4aff3 Re-organized setup. 2015-07-05 23:04:03 -04:00
Brandon Taylor 51ed60a127 Refactored unit test. 2015-07-05 23:03:59 -04:00
Brandon Taylor bfcd11f072 Added setup.cfg 2015-07-05 23:02:23 -04:00
Brandon Taylor da0da5e690 Fixes: Bug in get_previous() method #108
Added ordering to _filter_objects internal method to correctly select previous object.
2015-07-05 22:37:20 -04:00
Brandon Taylor d7e0ec45fa Refactored test for get_previous and get_next to iterate through all records for people. 2015-06-29 23:43:41 -04:00
Brandon Taylor ef05c0f7cb Version bump to 1.8.3.
Updated readme with 1.8.3 information.
Updated travis configuration to remove deprecated config settings.
2015-04-08 22:16:20 -04:00
Brandon Taylor ad09081ab4 Added exception handling for get_queryset attribute. 2015-04-08 22:06:14 -04:00
Brandon Taylor a5c1c53400 Added Polish translations.
Version bump to 1.8.2
2015-04-01 12:01:16 -04:00
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