python-discord / site

pythondiscord.com - A Django and Bulma web application.
https://pythondiscord.com
MIT License
638 stars 127 forks source link

Work around DRF 3.15 regression #1277

Closed jchristgit closed 3 months ago

jchristgit commented 3 months ago

Manually define the fields on the FilterSerializer due to a bug in DRF 3.15 reported upstream at https://github.com/encode/django-rest-framework/issues/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.

netlify[bot] commented 3 months ago

Deploy Preview for pydis-static failed.

Name Link
Latest commit 3dbdb93517b512c356f14936b29d496765d43483
Latest deploy log https://app.netlify.com/sites/pydis-static/deploys/66090b8f8510dd00081e09ed
jchristgit commented 3 months ago

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