-
Notifications
You must be signed in to change notification settings - Fork 77
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
CoreAPIURLFilterBackend causing recursion depth exceeded #94
Comments
dont think I have tested core api when viewset defines filterset. have you tried creating filterset explicitly? |
Yes, and I run into the same problem. Do you have any ideas? |
hmm. usually worked for me. probably there is some edge case with some relations where it attempts to go in infinite loop. |
Goes into a infinite loop if a reference field is included in the FilterSet. @miki725 do you think it is simple to fix? |
Run into the same issue, but did not had the time to look into thoroughly. Hope to have the time to look for a solution this weekend. |
Hello,
I tried to use CoreAPIURLFilterBackend to have the filters parameters showing up in our swagger documentation, but I have an error
maximum recursion depth exceeded
when trying to access the documentation url.It comes from:
ModelViewSet is as such:
I tried this configuration but it would not fix it.
Would you have some ideas how to solve this issue?
Thank you very much.
The text was updated successfully, but these errors were encountered: