Source

django-easyfilters / django_easyfilters / tests / filterset.py

Author Commit Message Labels Comments Date
Luke Plant
Typos in comments
Luke Plant
Made ManyToManyFilter consistent with ForeignKeyFilter in using model instances as choice objects Involved some cleanup to API. Also ensured no performance regressions
Luke Plant
Created `Filter.render_choice_object` method that is documented to be overidable by subclasses
Luke Plant
Added FilterSet.title attribute
Luke Plant
Explicit 'drilldown' option for NumericRangeFilter
Luke Plant
Added ability to specify custom labels in NumericRangeFilter.ranges
Luke Plant
Added ability to specify custom class for filter
Luke Plant
Implemented 'nice' ranges for NumericRangeFilter
Luke Plant
Added 'ranges' option for NumericRangeFilter, and fixed associated bugs.
Luke Plant
Improved handling of ranges by explicitly stating whether it is inclusive or not
Luke Plant
Corrected NumericRangeFilter to handle the lower limit of a range more nicely
Luke Plant
Added initial implementation of NumericRangeFilter
Luke Plant
Added a fix in a test to workaround a bug in Django <= 1.3
Luke Plant
Fixed a typo, added a comment
Luke Plant
Added 'max_depth' parameter to DateTimeFilter
Luke Plant
Fixed another bug with DateTimeFilter display choices
Luke Plant
Improved date drill down by making it show context for all values e.g. month for day, year for month This involved changing 'only choice' to 'display', and reworking filterset rendering logic
Luke Plant
Added tests for normalizing choices
Luke Plant
Fixed bug introduced into ForeignKeyFilter remove links
Luke Plant
Implemented filtering by day
Luke Plant
Implemented month range lookup
Luke Plant
Fixed bug with display of date ranges.
Luke Plant
Fixed bugs with ordering of remove links for DateTimeFilter and date ranges
Luke Plant
Changed the way that DateTimeFilter handled remove links to be more robust
Luke Plant
Fixed bug with ManyToMany erroring with invalid query param
Luke Plant
Fixed bug with DateTimeFilter erroring on an empty QuerySet
Luke Plant
Fixed bug with ForeignKeyFilter and query params representing missing objects
Luke Plant
Fixed crash when invalid foreign key values are in query string
Luke Plant
Refactored test_datetime_filter_invalid_query test
Luke Plant
Eliminated FilterOptions, as it wasn't doing anything useful.
  1. Prev
  2. 1
  3. 2
  4. Next