Hi All. I wonder if anyone can point me in the right direction. I am building a web api using django and FilterSets and wish to allow consumers to perform a query along the lines of
Manufacturer =x OR manufacturer = y etc etc
Is this achievable out of the box and how would you specify this within the url? My current url looks like this
http://127.0.0.1:8000/compare/api/instance/?Manufacturer=x&Manufacturer=ybut this only performs an AND on the underlying data
Manufacturer =x AND manufacturer = y etc etc
Also, please note that whilst I would like to perform an OR with regard to the manufacturer if I include other fields to be queried I would expect these to be AND'd for example
http://127.0.0.1:8000/compare/api/instance/?Manufacturer=x&Manufacturer=yModel=zshould equate to
(Manufacturer =x OR manufacturer = y) AND Model = z
Thanks In advance