When I upgraded the Django version from 1.11.1
to 2.2
I also had to upgrade the version of django-filter. (Raised from 1.0.4
to 2.2.0
.)
Then, the API thrown with ...? Id = null
was returned with BadRequest.
--The process of checking STRICT from FilterSet has been abolished.
1.11.1
Announcement
-https://django-filter.readthedocs.io/en/master/guide/migration.html#filterset-strictness-handling-moved-to-view-788
--I'm afraid I have to specify strict = False in FilterView, but it's not working.
--Make your own FILTER BACKEND
Recommended Posts