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
Note: if we go with the latter option (add filter backend to [DjangoFilterBackend|https://www.django-rest-framework.org/api-guide/filtering/#djangofilterbackend] and remove the mixin), we will need to set filter_backends to None/empty as follows on all relevant view sets:
Create a drf filter backend (https://www.django-rest-framework.org/api-guide/filtering/#:~:text=request%20or%20user.-,Example,-For%20example%2C%20you ) that behaves like get_queryset in CommitteeOwnedViewMixin. Either change CommitteeOwnedViewMixin to use the filter backend or add filter backend to DjangoFilterBackend and remove the mixin if it serves no other purpose
QA Notes
Unit tests to be provided
DEV Notes
Note: if we go with the latter option (add filter backend to [DjangoFilterBackend|https://www.django-rest-framework.org/api-guide/filtering/#djangofilterbackend] and remove the mixin), we will need to set filter_backends to None/empty as follows on all relevant view sets:
{{filter_backends =}} None or () ?
Design
null
See full ticket and images here: FECFILE-1890
The text was updated successfully, but these errors were encountered: