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
Not trivially. I think you'd need to punch through a few layers and configure a GET param in the url of the embed so your modeladmin could change the queryset.
Off the top of my head, you'd probably need to override widget on the InstanceSelectorBlock subclass, and provide your own InstanceSelectorWidget subclass that appends a param to the embed's url.
This seems like a pretty reasonable use-case. If you get it working, it'd be great if you could either paste some code here or even open a PR.
hi,
i am trouble with a issue where i must need to use queryset in InstanceSelectorBlock.
Is there any way to initialize InstanceSelectorBlock with queryset.
thanks
The text was updated successfully, but these errors were encountered: