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
The short answer is no, not currently. However, you may be interested in #199, which creates some new API surface, and reworks how related filtering is performed. eg, once #199 is cleaned up and merged, you'd be able to access the related queryset like so:
Closing this, as there isn't anything actionable. #199 still needs some polishing, but it will cover the described use case and generally seems like the path forward.
Is it possible to get the filtered queryset from a related filter?
Say I have models:
and set up filtering for them
And use these in a view:
I was wondering wether there was anyway to get the
A
queryset from theBFilter
as if I was doingwithout having to resort to removing
'a__'
from all keys in the query param dict.The text was updated successfully, but these errors were encountered: