Re: empty filter fields displaying entire queryset

2015-11-11 Thread James Schneider
On Nov 10, 2015 11:53 PM, "Daniel Sears" wrote: > > I want to create a list view that searches a large dataset. But it seems that if I use a filterset with empty defaults, then my view displays my entire dataset. > > If tried creating a get_queryset method in my view that detects whether my filter

empty filter fields displaying entire queryset

2015-11-10 Thread Daniel Sears
I want to create a list view that searches a large dataset. But it seems that if I use a filterset with empty defaults, then my view displays my entire dataset. If tried creating a get_queryset method in my view that detects whether my filter fields are empty, but this doesn't seem to have any