- Removed ipdb import. Thanks zerolab.
- Adjustments to CI
Released on August 19th, 2024
- New optional paramater to set default sort order on first click of a column. Thanks to @RhinoW.
- Migrate test project to rye
- Migrate library to rye
- Fix release v2.3.0 on the supported Django version (v5).
- Support Django 5.0
- Fix nulls=last persistency in template (#26). Thanks @sandre35.
- Migrate
testproj
to Django v5.0 (fix deprecated) - Add home view to
testproj
to list all views - Fix HTML of test views
- Minor change to
README.md
No build.
- Breaking change,
nulls_first=True
andnulls_last=True
are replaced bynulls=first | last
. Thanks to @manderj. - Support of Django 4.1
- Handle setting to raise 404 on invalid values for new 'nulls' option
- Add more examples for Jinja
- Various cleanup
- Fix deprecated import of Markup from Jinja2
- Add sorting by nulls first or last by @manderj.
- Added Django 4.0 support. Thanks to David Smith.
- Fix Jinja2 is required (#19)
- Fix missing other GET params in anchors
- Fix path to jinja2 tags in testproj
- Fix trailing commas in classifiers
- Fix trailing commas in classifiers (
setup.cfg
).
Released on February 23th, 2021
- Add Jinja2 support \o/
- Modern Python packaging
- Add note about django-tables2 in README
- Add documentation for Jinja2
- Include the space before the icon in settings
- Simpler code to render anchor
- Rename 'inverse' key to 'next' in SORT_DIRECTIONS
- Move settings to one upper level
- Use f-strings
- Fix error handling in queryset sorting
- Move sort_directions dict into dedicated file
- Regenerate test project with Django 3.1
- Remove support of Python 2 and upgrade to Django >=3.0
- Various cleanups
Released on September 23th 2020
- Fix cache issue with translatable anchors. Thanks Kim Wong.
- Updated README.md
Released on March 1st 2017
- Improved README
- Don't return None when queryset is empty (closes #8)
Released on January 24th 2017
- Now switching between ascending, descending, and no sorting
- Removed webstack_django_sorting.middleware.SortingMiddleware
- Fixed sorting on edge cases
- Django 1.10 support
- Improved Python 3 support
- Add first tests
Released on January 3rd 2017
- Restore compatibility with Django v1.8 and lower
- Fix reading of README.rst with Python 3
- Cleanup in test project
Released on December 10th 2016
- Compatibility with Django v1.9
- Better MANIFEST.in