Commit Graph
84 Commits
Author SHA1 Message Date
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
Brandon Taylor 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. 2014-10-24 20:28:36 -04:00
Brandon Taylor 651064d3fb Added sortable model that will not be registered as an inline, but will have a non-sortable parent. 2014-10-24 09:15:07 -04:00
Brandon Taylor 4da0deb503 Updated readme.
Version bump to 1.7.5
2014-10-06 09:07:30 -04:00
Brandon Taylor 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.
2014-10-06 08:56:41 -04:00
Brandon Taylor b705c924f0 Fixed comparison operator according to PEP8. 2014-10-04 11:55:12 -04:00
Brandon Taylor 9935f65ca0 Update README.md 2014-09-21 19:35:21 -04:00
Brandon Taylor 13c84e8d0b Updated readme docs for migrations. 2014-09-21 19:28:33 -04:00
Brandon Taylor 03cfdf2f3d Version bump to 1.7.4.
Updated readme with additional NonSortableParentAdmin related docs.
2014-09-21 19:20:55 -04:00
Brandon Taylor 588fc7a4cd Added new models and model admins to Python3 sample project. 2014-09-21 18:45:46 -04:00
Brandon Taylor 3a3392a7a1 Added additional models for non sortable parent with sortable inlines. 2014-09-21 15:15:40 -04:00
Brandon Taylor 234a0118db Added NonSortableCategory and SortableCategoryWidget model classes.
Wired up NonSortableCategory and inline sortable SortableCategoryWidget to sample project admin.
2014-09-21 15:14:03 -04:00
Brandon Taylor 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.
2014-09-21 15:12:30 -04:00
Brandon Taylor b880018f71 Added css target class to proerly display the 'move' cursor for sortable stacked inlines. 2014-09-21 14:31:46 -04:00
Brandon Taylor d799a91e54 Merge pull request #91 from jaap3/patch-1
Removed a stray "TEST 2"
2014-09-19 07:50:50 -04:00
Brandon Taylor da20ef0b53 Removed south entirely from project. 2014-09-12 09:35:50 -04:00
Brandon Taylor 0edc62ebe5 Removed minor version spec of Python. 2014-09-12 09:24:35 -04:00
Brandon Taylor 922d289025 Updated python versions in excludes. 2014-09-12 09:21:58 -04:00
Brandon Taylor 82e683756e Fixed string formatting for Python 2.6 in tests.
Updated Travis Python 2.7 version to 2.7.6.
More excludes.
2014-09-12 09:20:36 -04:00
Brandon Taylor fcb7fd132d More excludes. 2014-09-12 09:14:28 -04:00
Brandon Taylor b86bbec630 More Travis config changes to matrix. 2014-09-12 09:09:31 -04:00
Brandon Taylor 99d53d06b9 Added south install back. 2014-09-12 08:58:46 -04:00
Brandon Taylor 354f7db569 More travis adjustments. 2014-09-12 08:56:10 -04:00
Brandon Taylor 4c2925e1f0 Added SOUTH_TESTS_MIGRATE to settings. 2014-09-12 08:51:36 -04:00
Brandon Taylor 6953be4fd8 Fixed YAML parsing errors. 2014-09-12 08:47:48 -04:00
Brandon Taylor 18735017db Updated Travis config matrix. 2014-09-12 08:45:19 -04:00
Brandon Taylor 1a4930a29f Merge branch 'master' of github.com:iambrandontaylor/django-admin-sortable 2014-09-12 08:14:51 -04:00
Brandon Taylor a5363c94cb Updated Travis config to test against multiple versions of Python and Django. 2014-09-12 08:14:30 -04:00
Brandon Taylor a23937033c Merge pull request #90 from jaap3/patch-1
Fix formatting string for Python 2.6
2014-09-12 08:13:29 -04:00
Brandon Taylor ba552549c2 Fixed south version. 2014-09-06 20:42:53 -04:00
Brandon Taylor fa401c3dc3 Removed --use-mirrors. 2014-09-06 20:42:28 -04:00
Brandon Taylor 04466602f7 Fixed requirements for Python 2.7 based project. 2014-09-06 20:39:33 -04:00
Brandon Taylor 1a581e3af8 Merge branch 'master' of github.com:iambrandontaylor/django-admin-sortable 2014-09-06 20:37:04 -04:00
Brandon Taylor dd30e39674 Added sample Project using Python 3.4 and Django 1.7. 2014-09-06 20:36:51 -04:00
Brandon Taylor e274dad374 Update README.md
Added build status
2014-09-06 19:30:21 -04:00
Brandon Taylor 90f3e13d94 Merge branch 'master' of github.com:iambrandontaylor/django-admin-sortable 2014-09-06 15:41:34 -04:00
Brandon Taylor 2157f2d7ca Fixed table formatting. 2014-09-06 15:41:24 -04:00
Brandon Taylor c312e975a8 Update README.md 2014-09-06 15:37:54 -04:00
Brandon Taylor cd100a7532 Change table. 2014-09-06 15:35:37 -04:00
Brandon Taylor 4c1ffdebea Version bump to 1.7.3.
Updated readme to document get_next/previous
2014-09-06 15:32:54 -04:00
Brandon Taylor 3cfba9164a Added cd to Travis script. 2014-09-06 15:15:14 -04:00
Brandon Taylor 31780a672a Updated requirements and Travis config. 2014-09-06 15:13:53 -04:00
Brandon Taylor 8b9cf718c0 Added Travis CI config. 2014-09-06 15:11:52 -04:00
Brandon Taylor 8df54f43e1 Added basic test of get_next/previous. 2014-09-06 14:53:11 -04:00
Brandon Taylor 25ef724e15 Fixed missing kwarg in calls to get_next/previous. 2014-09-06 14:52:09 -04:00
Brandon Taylor e08077a0b2 PEP8 cleanup. 2014-09-06 14:51:26 -04:00
Brandon Taylor 27686d6f79 Removed unused variable. 2014-09-06 12:38:00 -04:00
Brandon Taylor 1a96bb0d21 Added option to disable sortable foreign key filtering. 2014-09-05 23:07:16 -04:00
Brandon Taylor 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.
2014-09-05 23:02:29 -04:00
Brandon Taylor 361305d6a5 Updated Readme.
Version bump to 1.7.2.
Merged pull request for commit 4e38d91.
Removed version specifications from requirements.txt in sample project.
2014-09-05 16:37:45 -04:00
Brandon Taylor 4e38d91138 Merge pull request #88 from fusionbox/change-view-args
ModelAdmin.change_view takes a form_url kwarg
2014-09-05 16:31:10 -04:00
Brandon Taylor d3b780593e Update usage.rst 2014-08-25 09:28:21 -04:00
Brandon Taylor 88bdb3816f Update usage.rst 2014-08-25 09:27:34 -04:00
Brandon Taylor ac7e03c611 Update usage.rst 2014-08-25 09:26:08 -04:00
Brandon Taylor 76f3541c0d Update usage.rst 2014-08-25 09:25:47 -04:00
Brandon Taylor 6c04e3b8df Update usage.rst 2014-08-25 09:25:19 -04:00
Brandon Taylor 63e123e4fc Update usage.rst 2014-08-25 09:24:22 -04:00
Brandon Taylor 969ee2f653 Update usage.rst 2014-08-25 09:23:58 -04:00
Brandon Taylor ed18886e2c Updated ReadMe 2014-08-21 22:17:14 -04:00
Brandon Taylor 5e307d687b Version bump to 1.7.1.
Added Brazilian Portugese locale.
Fixed minor css scoping issue that caused stacked template items that were sortable to not display the 'move' cusor type.
Fixed comment line in manage.py for PEP8.
2014-08-21 22:14:36 -04:00
Brandon Taylor cf490e7918 Changed toctree max depth to 3.
Minor refactor on headers for usage docs
2014-08-21 12:32:36 -04:00
Brandon Taylor 67b6cc0713 Added license doc 2014-08-21 00:29:42 -04:00
Brandon Taylor 815477aefa Added future doc 2014-08-21 00:28:45 -04:00
Brandon Taylor 7485dc0289 Added status docs. 2014-08-21 00:26:25 -04:00
Brandon Taylor 20829d106a Added known issues docs. 2014-08-21 00:22:53 -04:00
Brandon Taylor 87917cfadb Added Django CMS docs. 2014-08-21 00:21:03 -04:00
Brandon Taylor b3c9fffbfa Added usage docs. 2014-08-21 00:17:36 -04:00
Brandon Taylor 512440f9e5 Added configuration and testing docs. 2014-08-20 23:57:01 -04:00
Brandon Taylor b031d458cd Added more information to index 2014-08-20 23:49:26 -04:00
Brandon Taylor e43d7d67c2 Added more information to index 2014-08-20 23:34:31 -04:00
Brandon Taylor 279ce2e71f Working on Sphinx docs 2014-08-20 20:47:13 -04:00
Brandon Taylor 5a93437f11 Merge pull request #84 from GabLeRoux/patch-1
Update README.md
2014-07-14 22:49:28 -04:00
Brandon Taylor 1b2461444b Merged Python 2.6 comptaibility features.
Version bump.
Updated readme.
2014-05-29 10:24:54 -04:00
Brandon Taylor e19edc7d9e Merge pull request #81 from EnTeQuAk/feature/python-2.6
Fix python 2.6 compatibility
2014-05-29 10:22:15 -04:00
Brandon Taylor 6f25684e35 Version bump to 1.6.9.
Merged pull request from @kirov to fix multiple exception handling.
2014-05-28 08:15:39 -04:00
Brandon Taylor 10e3dd938a Merge pull request #82 from kirov/patch-1
Fix "except"
2014-05-28 08:13:08 -04:00
Brandon Taylor 1f63c7012a Merge pull request #80 from akadan47/master
Add Russian localization
2014-05-22 22:33:37 -04:00
Brandon Taylor 29a05bcd63 Merge pull request #79 from jerivas/es-locale
Localized to Spanish
2014-04-08 07:48:29 -04:00
Brandon Taylor 5a60408076 Merge pull request #77 from iambrandontaylor/multi-sorting-groups
Refactored sorting_filters into a tuple and moved logic for retrieving s...
2014-03-05 09:12:35 -05:00
Brandon Taylor af6c8f2e15 Merge pull request #76 from immensa/master
update new version - translate pt_BR
2014-02-13 09:14:00 -05:00
Brandon Taylor d5d6f54135 Update README.md 2014-02-05 15:11:49 -05:00
Brandon Taylor 77385bddeb Update README.md 2014-02-05 15:10:32 -05:00
Brandon Taylor c4c27e1dd1 Merge pull request #73 from ygwain/master
Python 2.6.x compatibility fix (unindexed str.format in admin.py
2014-01-13 05:42:36 -08:00