-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Remove Django filters #2635
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
Comments
I believe it's used in REST Framework, but the in page filters aren't being used. It broke our pagination on Builds in #2633, so it might also be breaking other stuff, and is unnecessary complexity. |
I would like to fix this bug but I am new and do not know how to start. how can I fix this? |
@vardhan26 I started today to take a look at the code, but what I would do is something like:
|
hey @agjohnson , @humitos do i have to debug all the 174 errors and 25 failures and then send PR or I can debug few and contribute ? |
@vardhan26, @humitos, @ChamanAgrawal: are you working on this issue atm? |
@rixx No, I'm not. Would you like to? I would like to fix my previous command to run the tests: |
I found the following uses of
I'd appreciate guidance as to what to do with those, especially those used in |
Sorry to write a comment in a closed issue, but I don't know where to put it. We are using readthedocs as our documentation build system and we are using the REST API to monitoring the build status of the different versions of our repositories. Now that you removed django-filter, do you have another way to use the REST API without having to parse all builds from the beginning of time? |
@JLorne while going through some of these issues I found this. It is now possible to filter builds by project. For example, you can do something like https://readthedocs.org/api/v2/build/?project__slug=pip (that's a double underscore). Hopefully this meets your needs. APIv2 is also now documented. Since the RTD team is going through some initial design on a v3 API, I'd love to understand your use case a bit better so we can better meet it. |
Thank you @davidfischer for the filterable v2 API.
|
Currently only the |
We aren't using Django Filters project anymore, this dependency should be removed. This will require some updates to the code where it is expected.
The text was updated successfully, but these errors were encountered: