Commits

Author Commit Message Labels Comments Date
Luke Plant
Big API change to Filter - made 'params' an argument to constructor. This means that it doesn't have to be passed around everywhere, and that choices_from_params() can run just once. Also changed use of FilterOptions to just a dictionary.
Luke Plant
Fixed stupid error
Luke Plant
Various fixes to DateTimeFilter, extending support for months and days. No proper tests for this lot yet.
Luke Plant
Beginning of DateTimeFilter Involved a fair amount of API change and code movement in the rest of Filter
Luke Plant
Sorted out methods of Filter for clarity
Luke Plant
Cleanups to Filter.
Luke Plant
Bulked out test fixture data.
Luke Plant
Tweaked filterset HTML
Luke Plant
Better HTML for rendered filterset, with some nicer example CSS in the demo view
Luke Plant
Fixed bug with remove link when a chosen value is the empty string
Luke Plant
Fixed an unneeded import and added a comment.
Luke Plant
Corrected use of FILTER_ONLY_CHOICE for ManyToMany and nullable ForeignKey fields
Luke Plant
Moved some code to correct Filter subclass
Luke Plant
Made use of MultiValueDict/QueryDict to handle multiple values. This eliminates the need to use commas or other hacks to indicate multiple values - we use the facilities built in to query strings for that instead.
Luke Plant
Clarified a comment
Luke Plant
Simplified some tests
Luke Plant
Re-added models.py, to allow tests to run.
Luke Plant
Moved Filter class and subclasses into filters.py
Luke Plant
Pulled out method to make it possible to provide FilterSet template in a file
Luke Plant
Used a Django Template for rendering filter.
Luke Plant
Better handling of case where there is only one choice - now it is displayed, but not as a link
Luke Plant
Nicer styling for demo page
Luke Plant
Improved rendered HTML, and made more customisable
Luke Plant
Added info about demo page
Luke Plant
Removed unnecessary file
Luke Plant
Renamed RelatedFilter to ForeignKeyFilter
Luke Plant
Added view for testing in a browser.
Luke Plant
Implemented ManyToManyFilter This involved lots of moving stuff around, and changing API of methods in Filter and subclasses.
Luke Plant
Cleaned up test to be less convoluted.
Luke Plant
Cleaned up exports from django_easyfilters
  1. Prev
  2. Next