Skip to content

Commit

Permalink
Pepare 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
silentsokolov committed Feb 22, 2021
1 parent 1799f78 commit 6b17aaa
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
## [Unreleased]

## [0.7.0] - 2021-02-22
### Added
- Added possibility to set a title of filter #58

### Fix
- Avoided leading ?& GET parameters #59 (thx @jaredahern)

### Changed
- Changed title of filter from `By {field_name}` to `{field_name}`

## [0.6.4] - 2021-01-19
### Added
- Added Greek translation
Expand Down Expand Up @@ -113,7 +123,8 @@
- Add get_timezone
- Drop support Django < 1.8

[Unreleased]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.6.4...HEAD
[Unreleased]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.7.0...HEAD
[0.7.0]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.6.4...v0.7.0
[0.6.4]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.6.3...v0.6.4
[0.6.3]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.6.2...v0.6.3
[0.6.2]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.6.1...v0.6.2
Expand Down
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@ In admin
)
# If you would like to add a default range filter
# https://github.com/silentsokolov/django-admin-rangefilter/issues/44#issuecomment-614605487
# method pattern "get_rangefilter_{field_name}_default"
def get_rangefilter_created_at_default(self, request):
return (datetime.date.today, datetime.date.today)
# If you would like to change a title range filter
# method pattern "get_rangefilter_{field_name}_title"
def get_rangefilter_created_at_title(self, request, field_path):
return 'custom title'
Expand Down
2 changes: 1 addition & 1 deletion rangefilter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


__author__ = 'Dmitriy Sokolov'
__version__ = '0.6.4'
__version__ = '0.7.0'


default_app_config = 'rangefilter.apps.RangeFilterConfig'
Expand Down

0 comments on commit 6b17aaa

Please sign in to comment.