-
Hi, I want to create export template NAME,SITE,Tag but I cannot get the tags part as I have created following tag , so How can I filter EOL tag devices |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
IIRC, the The way to explore these things is with nbshell.
|
Beta Was this translation helpful? Give feedback.
-
Thanks @candlerb , I am running netbox on docker instance so how can I access nbshell on docker ? |
Beta Was this translation helpful? Give feedback.
-
I am getting following ouput if i use tags.names Server01,Germany,active,prodgermany01,.<RestrictedQuerySet ['eol']> how can I remove .<RestrictedQuerySet ? |
Beta Was this translation helpful? Give feedback.
IIRC, the
tags
attribute has a methodnames()
to give just the tag names, i.e.{{ device.tags.names() }}
. Orslugs()
if you want the tag slugs instead of tag names.The way to explore these things is with nbshell.