You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using django-filter and adding filters similar to {'FKfield__FKprop': ['exact', 'icontains'}} to the Meta class of a GenericViewset drf-spectacular throws an MODEL has no field named FKfield__FKprop error
Expected behavior
Fields and properties should be splitted similar as django-filter does to follow the FKs to the field that is filtered on
The text was updated successfully, but these errors were encountered:
@sennierer i tried to pull the improvement discussed in #151 into the core and reuse them for django-filter. could you check out the django_filter branch (PR #153) and tell me if that works for you? thanks!
Describe the bug
When using django-filter and adding filters similar to
{'FKfield__FKprop': ['exact', 'icontains'}}
to the Meta class of a GenericViewset drf-spectacular throws anMODEL has no field named FKfield__FKprop
errorExpected behavior
Fields and properties should be splitted similar as django-filter does to follow the FKs to the field that is filtered on
The text was updated successfully, but these errors were encountered: