Commit Graph

  • a34adef6ba add polish translation Tomasz Gabrysiak 2015-03-30 21:17:49 +02:00
  • 4f16fd266c Version bump to 1.8.1. Updated readme. Brandon Taylor 2015-03-24 09:19:58 -04:00
  • ca6d4ee8ed Removed debugging information. Brandon Taylor 2015-03-24 09:13:33 -04:00
  • f09a6b5bff Merge pull request #102 from flyingeek/master Brandon Taylor 2015-03-24 09:04:07 -04:00
  • 4a6a97a663 fix sortable function not found flyingeek 2015-03-24 13:40:07 +01:00
  • b8b644b77c Merge pull request #101 from a1tus/master Brandon Taylor 2015-02-26 09:08:40 -05:00
  • cbc27663a3 Refactored import from generic module to get rid of DeprecationWarning ILYA 2015-02-25 19:38:29 +03:00
  • 0af13803fb Version bump to 1.8.0. Updated readme. Brandon Taylor 2015-01-12 22:56:38 -05:00
  • 50b113bac1 Merge pull request #100 from aptivate/fix_sortable_fk_changelist Brandon Taylor 2015-01-12 22:52:30 -05:00
  • 7f0519afbe Fix sort changelist for objects with sortable fk tomd 2015-01-12 15:40:33 +00:00
  • a64d86a219 Merged PR 99. Bumped version to 1.7.9.1 Brandon Taylor 2014-12-27 12:45:49 -05:00
  • 0bff2f893f Merge pull request #99 from mark-ignacio/master Brandon Taylor 2014-12-27 12:41:32 -05:00
  • da39cf7497 re-enabled href in shared/object_rep.html mark@ignacio.io 2014-12-27 12:18:10 -05:00
  • d841ebfbfe removed print statements mark@ignacio.io 2014-12-27 12:12:47 -05:00
  • 936ac0fd34 Merge pull request #98 from matt-leach/master Brandon Taylor 2014-12-22 15:59:47 -05:00
  • 160a65dae7 adding travis 1.5.10 test back in matt-leach 2014-12-22 19:45:12 +00:00
  • 740d3fff15 Version bump to 1.7.9. Updated README. Brandon Taylor 2014-12-22 10:37:44 -05:00
  • 34e5d62245 Fixed merge conflict. Brandon Taylor 2014-12-22 10:30:56 -05:00
  • a3c1f4457a Fixed merge conflicts. Brandon Taylor 2014-12-22 10:27:46 -05:00
  • 01403f1b8c Merged pull request 97 Brandon Taylor 2014-12-22 10:25:35 -05:00
  • e83e31cb22 Merge pull request #97 from matt-leach/master Brandon Taylor 2014-12-22 10:19:32 -05:00
  • e0b38fb705 Using __class__ to get model class as model is not an attribute of class Meta in Django 1.5.x matt-leach 2014-12-22 14:57:17 +00:00
  • c7f2d63ec9 calling the correct queryset/get_queryset for VERSION matt-leach 2014-12-22 14:44:02 +00:00
  • cf1a2103dd Updating VERSION comparison to be compatible with all 1.5.x matt-leach 2014-12-22 14:36:15 +00:00
  • dfc654121c Version to 1.7.8. Updated readme. Brandon Taylor 2014-11-19 11:10:28 -05:00
  • ebda962dfe Update Travis config. Brandon Taylor 2014-11-19 11:07:05 -05:00
  • 7636e0e729 Update Travis config. Brandon Taylor 2014-11-19 11:05:44 -05:00
  • 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. Brandon Taylor 2014-11-19 10:58:55 -05:00
  • 81fc032c8b Merge pull request #96 from MagicSolutions/fix_js_for_inlines Brandon Taylor 2014-11-18 10:17:12 -05:00
  • cbce6debb4 Update sample_project for easy testing sortable and nonsortable inlines Venelin Stoykov 2014-11-18 17:04:58 +02:00
  • cfcf6b1a46 Make inlines to work corectly with non sortable inlines Venelin Stoykov 2014-11-18 17:04:20 +02:00
  • daadd190cb Added sortable non-online category example. Brandon Taylor 2014-11-08 08:49:07 -05:00
  • bcd328a101 Added child to str representation of self-referential model. Brandon Taylor 2014-11-03 11:19:59 -05:00
  • c855ad8be3 Updated version in readme. Brandon Taylor 2014-11-03 10:51:41 -05:00
  • a7179fece4 Version bump to 1.7.7. Updated readme with notes on self-referential SortableForeignKeys. Brandon Taylor 2014-11-03 10:50:02 -05:00
  • a48cf00396 Added migrations, fixed queryset call and fixed meta inheritance for self-referential sample model. Brandon Taylor 2014-11-03 10:45:50 -05:00
  • 7c60d89c71 Data changes from testing. Brandon Taylor 2014-11-03 10:44:31 -05:00
  • e521d5c8ad Added extra check for object when sorting self-referential models. Brandon Taylor 2014-11-03 10:44:11 -05:00
  • 612c4f8031 Added method to check for self-referential sortable foreign keys. Brandon Taylor 2014-11-03 10:43:41 -05:00
  • d332563e27 Fixed call to queryset object for Django >= 1.7 Brandon Taylor 2014-11-03 10:43:13 -05:00
  • 13945375f1 Version bump to 1.7.6. Updated readme. Brandon Taylor 2014-10-24 20:43:12 -04:00
  • 42ae56af0b Changes to data from manual testing. Brandon Taylor 2014-10-24 20:38:13 -04:00
  • 0ac0b56121 Removed unused objects. Added Person create statements and removed call to fixture data to prevent migration problems across Django versions. Brandon Taylor 2014-10-24 20:35:55 -04:00
  • be52851f38 Added new model and data. Brandon Taylor 2014-10-24 20:35:02 -04:00
  • ff4bc9b676 Deleted initial data fixture. Brandon Taylor 2014-10-24 20:34:42 -04:00
  • 5e318551ca Wired up SortableNonInlineCategory model to admin. Brandon Taylor 2014-10-24 20:34:06 -04:00
  • 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. Brandon Taylor 2014-10-24 20:32:53 -04:00
  • 5eaf0987b9 Added a space after the legacy sortable_by parameter to separate it. Brandon Taylor 2014-10-24 20:31:02 -04:00
  • 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. Brandon Taylor 2014-10-24 20:30:14 -04:00
  • 3acd88e8c4 Added utility function to check if a model defined as a sortable foreign key inherits from Sortable and if there are more than one objects for that model. Brandon Taylor 2014-10-24 20:28:36 -04:00
  • 651064d3fb Added sortable model that will not be registered as an inline, but will have a non-sortable parent. Brandon Taylor 2014-10-24 09:15:07 -04:00
  • 4da0deb503 Updated readme. Version bump to 1.7.5 Brandon Taylor 2014-10-06 09:07:30 -04:00
  • ca2a414ded Added version specific overrides for get_queryset and get_query_set. Added new get_permissions_codename check for permissions in upcoming Django 1.8. Refactored all version checks. All checks are done in tuple format instead of checking for a django major and minor version number. Removed unused RequestFactory in tests. Brandon Taylor 2014-10-06 08:56:41 -04:00
  • b705c924f0 Fixed comparison operator according to PEP8. Brandon Taylor 2014-10-04 11:55:12 -04:00
  • 9935f65ca0 Update README.md Brandon Taylor 2014-09-21 19:35:21 -04:00
  • 13c84e8d0b Updated readme docs for migrations. Brandon Taylor 2014-09-21 19:28:33 -04:00
  • 03cfdf2f3d Version bump to 1.7.4. Updated readme with additional NonSortableParentAdmin related docs. Brandon Taylor 2014-09-21 19:20:55 -04:00
  • 588fc7a4cd Added new models and model admins to Python3 sample project. Brandon Taylor 2014-09-21 18:45:46 -04:00
  • 3a3392a7a1 Added additional models for non sortable parent with sortable inlines. Brandon Taylor 2014-09-21 15:15:40 -04:00
  • 234a0118db Added NonSortableCategory and SortableCategoryWidget model classes. Wired up NonSortableCategory and inline sortable SortableCategoryWidget to sample project admin. Brandon Taylor 2014-09-21 15:14:03 -04:00
  • f33f5e90ed Refactored do_sorting_view to get start_index default value from len(indexes) rather than duplicate the line and set to 0. Added NonSortableParentAdmin class to enable sorting URLs and JavaScript on models that do not inherit from Sortable. Removed unused 'ordering' property on SortableAdmin. Changed assignment of sorting_filters to use getattr, enabling NonSortableParentAdmin to inherit from SortableAdminBase. Moved template properties to SortableAdminBase. Brandon Taylor 2014-09-21 15:12:30 -04:00
  • b880018f71 Added css target class to proerly display the 'move' cursor for sortable stacked inlines. Brandon Taylor 2014-09-21 14:31:46 -04:00
  • d799a91e54 Merge pull request #91 from jaap3/patch-1 Brandon Taylor 2014-09-19 07:50:50 -04:00
  • 0e993c524c Removed a stray "TEST 2" Jaap Roes 2014-09-19 13:30:46 +02:00
  • da20ef0b53 Removed south entirely from project. Brandon Taylor 2014-09-12 09:35:50 -04:00
  • 0edc62ebe5 Removed minor version spec of Python. Brandon Taylor 2014-09-12 09:24:35 -04:00
  • 922d289025 Updated python versions in excludes. Brandon Taylor 2014-09-12 09:21:58 -04:00
  • 82e683756e Fixed string formatting for Python 2.6 in tests. Updated Travis Python 2.7 version to 2.7.6. More excludes. Brandon Taylor 2014-09-12 09:20:36 -04:00
  • fcb7fd132d More excludes. Brandon Taylor 2014-09-12 09:14:28 -04:00
  • b86bbec630 More Travis config changes to matrix. Brandon Taylor 2014-09-12 09:09:31 -04:00
  • 99d53d06b9 Added south install back. Brandon Taylor 2014-09-12 08:58:46 -04:00
  • 354f7db569 More travis adjustments. Brandon Taylor 2014-09-12 08:56:10 -04:00
  • 4c2925e1f0 Added SOUTH_TESTS_MIGRATE to settings. Brandon Taylor 2014-09-12 08:51:36 -04:00
  • 6953be4fd8 Fixed YAML parsing errors. Brandon Taylor 2014-09-12 08:47:48 -04:00
  • 18735017db Updated Travis config matrix. Brandon Taylor 2014-09-12 08:45:19 -04:00
  • 1a4930a29f Merge branch 'master' of github.com:iambrandontaylor/django-admin-sortable Brandon Taylor 2014-09-12 08:14:51 -04:00
  • a5363c94cb Updated Travis config to test against multiple versions of Python and Django. Brandon Taylor 2014-09-12 08:14:30 -04:00
  • a23937033c Merge pull request #90 from jaap3/patch-1 Brandon Taylor 2014-09-12 08:13:29 -04:00
  • 483e834537 Fix formatting string for Python 2.6 Jaap Roes 2014-09-12 11:04:44 +02:00
  • ba552549c2 Fixed south version. Brandon Taylor 2014-09-06 20:42:53 -04:00
  • fa401c3dc3 Removed --use-mirrors. Brandon Taylor 2014-09-06 20:42:28 -04:00
  • 04466602f7 Fixed requirements for Python 2.7 based project. Brandon Taylor 2014-09-06 20:39:33 -04:00
  • 1a581e3af8 Merge branch 'master' of github.com:iambrandontaylor/django-admin-sortable Brandon Taylor 2014-09-06 20:37:04 -04:00
  • dd30e39674 Added sample Project using Python 3.4 and Django 1.7. Brandon Taylor 2014-09-06 20:36:51 -04:00
  • e274dad374 Update README.md Brandon Taylor 2014-09-06 19:30:21 -04:00
  • 90f3e13d94 Merge branch 'master' of github.com:iambrandontaylor/django-admin-sortable Brandon Taylor 2014-09-06 15:41:34 -04:00
  • 2157f2d7ca Fixed table formatting. Brandon Taylor 2014-09-06 15:41:24 -04:00
  • c312e975a8 Update README.md Brandon Taylor 2014-09-06 15:37:54 -04:00
  • cd100a7532 Change table. Brandon Taylor 2014-09-06 15:35:37 -04:00
  • 4c1ffdebea Version bump to 1.7.3. Updated readme to document get_next/previous Brandon Taylor 2014-09-06 15:32:54 -04:00
  • 3cfba9164a Added cd to Travis script. Brandon Taylor 2014-09-06 15:15:14 -04:00
  • 31780a672a Updated requirements and Travis config. Brandon Taylor 2014-09-06 15:13:53 -04:00
  • 8b9cf718c0 Added Travis CI config. Brandon Taylor 2014-09-06 15:11:52 -04:00
  • 8df54f43e1 Added basic test of get_next/previous. Brandon Taylor 2014-09-06 14:53:11 -04:00
  • 25ef724e15 Fixed missing kwarg in calls to get_next/previous. Brandon Taylor 2014-09-06 14:52:09 -04:00
  • e08077a0b2 PEP8 cleanup. Brandon Taylor 2014-09-06 14:50:54 -04:00
  • 27686d6f79 Removed unused variable. Brandon Taylor 2014-09-06 12:38:00 -04:00
  • 1a96bb0d21 Added option to disable sortable foreign key filtering. Brandon Taylor 2014-09-05 23:07:16 -04:00
  • fee0ba81b0 Moved logic to set sortable_foreign_key property to Sortable instead of SortableAdmin. Added instance methods to get next or previous instance, optionally filtered by a sortable foreign key field. Brandon Taylor 2014-09-05 23:02:29 -04:00
  • 361305d6a5 Updated Readme. Version bump to 1.7.2. Merged pull request for commit 4e38d91. Removed version specifications from requirements.txt in sample project. Brandon Taylor 2014-09-05 16:37:45 -04:00