Skip to content
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

Work around DRF 3.15 regression #1277

Closed
wants to merge 1 commit into from

Conversation

jchristgit
Copy link
Member

Manually define the fields on the FilterSerializer due to a bug in DRF 3.15 reported upstream at
encode/django-rest-framework#9345. Once that issue is fixed, we can remove the custom field code again. A new test case is also added to ensure that we don't run into this issue again.

Manually define the fields on the FilterSerializer due to a bug in DRF
3.15 reported upstream at
encode/django-rest-framework#9345. Once that
issue is fixed, we can remove the custom field code again. A new test
case is also added to ensure that we don't run into this issue again.
@jchristgit jchristgit requested a review from jb3 March 31, 2024 07:06
Copy link

netlify bot commented Mar 31, 2024

Deploy Preview for pydis-static failed.

Name Link
🔨 Latest commit 3dbdb93
🔍 Latest deploy log https://app.netlify.com/sites/pydis-static/deploys/66090b8f8510dd00081e09ed

@jchristgit jchristgit closed this Mar 31, 2024
@jchristgit jchristgit deleted the fix-filterlists-endpoint-drf-3.15 branch March 31, 2024 07:14
@jchristgit
Copy link
Member Author

This doesn't work as expected. Let's roll back the version until an upstream fix is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant