It would appear that object-based mixins don't work with django-filter's
FilterSet. This should probably be fixed upstream, but for now let's
live with the extra duplication.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 0fc32337 ("REST: Integrate django-filter support")
Reviewed-by: Andy Doan <andy.doan@linaro.org>
from patchwork.models import Series
-class TimestampMixin(object):
+class TimestampMixin(FilterSet):
# TODO(stephenfin): These should filter on a 'updated_at' field instead
before = IsoDateTimeFilter(name='date', lookup_expr='lt')