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=y but 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=z should equate to (Manufacturer =x OR manufacturer = y) AND Model = z Thanks In advance -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/67d84be9-8c09-4013-8ecd-552689cec383%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.