Commit graph

10 commits

Author SHA1 Message Date
Brandon Taylor
99bf2fb5f2 Version bump to 2.2.0
Updated README.
Updated models to be compliant with Django 3.
2019-12-07 17:36:54 -05:00
Brandon Taylor
e2bee04990 Fix sorting for raw_id objects
- Added common function to get querystring filters
- Excluded querystring parameters used for raw_id fields
- Version bump to 2.1.13
- Updated readme
2019-02-21 09:56:08 -05:00
Brandon Taylor
598a97c997 Added extra filtering options for Project model/admin 2019-02-11 10:15:39 -05:00
Brandon Taylor
fabd78e5be Add Positional Arguments to Get Next/Previous
Added filter_args array argument to be passed to get_next/previous methods.
Added extra boolean fields to project model for testing.
2018-10-06 09:46:34 -04:00
Brandon Taylor
1ed27acbaa Fix Sort Link
Updated conditional to not add filter expression if a search has been performed on the queryset.
2018-10-05 10:53:56 -04:00
Brandon Taylor
6d5f9e97b4 Added after_sorting method to SortableAdminBase class that can be defined on a model admin to be executed after sorting has occurred. 2018-07-09 07:49:55 -04:00
Brandon Taylor
e35f36b25a Refactored sorting JS files to be includes so that server-side variables may be passed to them.
Added 'after_sorting_js_callback_name' attribute to SortableAdminBase.
Added callback to be executed after sorting for each of the possible sorting scenarios.
Added custom template examples to add a callback to be executed when sorting is finished.
2018-06-18 11:40:24 -04:00
Brandon Taylor
5d1529c161 Updated migrations to allow for a model with a non autofield as the primary key.
Updated tests.
2018-03-19 21:18:08 -04:00
Brandon Taylor
d4f577fdf9 Update csrf value to use value if present in context, then fall back to cookie.
Updated database samples.
Added migrations for sample project models.
Updated Category model to make order not editable.
2017-12-04 22:05:37 -05:00
Brandon Taylor
f4daaeb232 Restructured sample project for Django 2.
Refactored database and changed "app" to "samples" so name didn't conflict with "AppConfig".
Replaced deprecated assignment_tag with simple_tag.
Updated unit tests.
2017-12-04 21:29:55 -05:00