drf-url-filters
drf-url-filters copied to clipboard
A django app to apply filters on drf querysets using query params with validations using voluptuous.
url_params not taken into account because method __merge_query_params(self, url_params, query_params) reset it with url_params = {}
The readme should probably include a couple of example searches. ie: what do the urls look like?
We need to throw all the errors at once when we find there are multiple errors are in incoming query params. Right now we throw 400_BAD_REQUEST when first invalid param...
Does this work with django rest framework documentation?
Hello friends Sometimes, duplication occurs when filtering. I think this method can be used to avoid this error. Do you have a better suggestion?