nknj nknj - 3 years ago 97
reST (reStructuredText) Question

Tastypie filtering with multiple values

I had a simple question on filtering in tastypie.

I want to filter with multiple values. For example:


This doesnt work. Any idea how i can do this?

Do i need to use advanced filtering? If yes, how do I go about creating such a filter? A simple effortless example of puesdo-code would be great!


Answer Source


You can do this:


PS: in filtering meta attribute, add {'accountId': ALL}

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download