Tags in Custom Script
#14746
-
On a custom script form, I would like to show tags only related to the Device model. I have been unsuccessful so far finding the right query params. I believe it should be similar to the following, but error is "Object of type ConfigContextModelQuerySet is not JSON serializable." Any advice?
|
Beta Was this translation helpful? Give feedback.
Answered by
candlerb
Jan 9, 2024
Replies: 1 comment 3 replies
-
Untested, but try something like this:
or
I got this from the Netbox source code:
and
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
wz4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Untested, but try something like this:
or
I got this from the Netbox source code:
and