-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Fix SearchFilter to-many behavior/performance #5264
Conversation
2f0e932
to
d1cfec8
Compare
@rpkilby thanks for progressing this and getting it done! |
Hi @Pomax. The best thing to do is to create a failing test case as a PR. You don't have to fix the bug yourself, but a failing test case gives us something to work with. |
That's fine. We just need a failing test case against the current master. If you can run the tests locally against v3.6.3 and verify that it succeeds, then that's sufficient. |
3.6.3 also seems to not want to get to a point where tests will run... are there additional steps beyond what's in the old CONTRIBUTE.md (e.g. which python version to use for the virtualenv, which django version to peg, etc?) to make the tests run successfully? (I tried both macos and windows, with python 3.7 and python 2.7 just to see if that was the problem -- it wasn't, django-guardian needs 3.5 or above =D -- with django pegged to 1.11 because this is code from 2017, but nothing seems to get me to a point where the tests will run, unlike running the tests for current master, which worked instantly) |
I'm also trying to get this to work on ~3.6.3, but I usually try to run tests via tox. In order to get this to work, I had to unpin the dependencies in
Edit: |
ah, nice. Let me see if I can make that work. |
Looks like it's still not quite working (windows gives 58 errors, macos 1) but it's close enough to probably finish up tomorrow morning (Vancouver Island time). Thank you for the help! |
Fixes #4655. Thanks @cdosborn for the patch!