- Notifications
You must be signed in to change notification settings - Fork302
Open
Labels
Description
Here:
if (notfilterset_class)or (knotinfilterset_class.base_filters): |
RangeFilter
is used to specify a value of the two ends without specifying the other. It works by looking for "min/after" and "max/before" in the query param.
This should work:
UsingDateFromToRangeFilter
, defined this way:
last_updated=DateFromToRangeFilter()
and passing the filter:filters[last_updated_after]=2016-01-01
will execute:.filter(last_updated__gte="2016-01-01")
Currently it fails aslast_updated_after
!=last_updated
(as in the quoted code:base_filters
containslast_updated
but notlast_updated_after
orlast_updated_before
)