-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter by list of ids of a FK #18
Comments
sounds like this is related to #14 |
also I believe this bug, at least partially, should be fixed in 0.3 which is in master branch now however has not been released yet. can you please try using the master branch and let me know if that helps |
ok. Ill try to take a closer look when I can. |
👍 |
@catalanojuan sorry for late response. Im unable to reproduce it. am using test data from here is my test url:
can successfully query objects via sqlalchemy:
closing for now. if you still have this issue, please feel free to reopen. |
Hi there,
First of all many thanks for sharing this with the world. It might have saved me a lot of time :)
I'm using django-url-filter 0.2.0 DRF integration with DRF 3.3.2 and Django 1.9.2.
One of the 2 uses I'd like to give it I think is not working though. Here's how my code looks like (I'm not pasting my settings since the rest seems to be working fine):
What I'd like to do is filter all E instances that belong to a certain list of Ps (ie. being able to do
http://example.com/v1/e/?p__in=1,2,3
or similar).The result I'm getting is just all the E objects, unfiltered. I'm not sure if this is supposed to be working but broken or if it's a functionally yet to be added, or maybe I'm just doing it wrong. Sorry I didn't dive in the code to pin point the exact cause of the problem.
Thanks for your help!
The text was updated successfully, but these errors were encountered: