How to add tag to circuit via API or nbshell #8721
Answered
by
candlerb
el-magneto
asked this question in
Q&A
-
Hi,
I checked it in nbshell and can see that bac_circuit.tags is an object:
How to add new (already configured tag) to that object? |
Beta Was this translation helpful? Give feedback.
Answered by
candlerb
Feb 22, 2022
Replies: 2 comments 1 reply
-
'tags' is some sort of Django ORM manager object. Try:
or
I'm reasonably sure the first will work, not sure about the second. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
el-magneto
-
FYI, if you’re adding a single tag, just do tags.add(myTag)
…Sent from my iPhone
On 22 Feb 2022, at 16:19, el-magneto ***@***.***> wrote:
Thank you! It works in nbshell and API!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
'tags' is some sort of Django ORM manager object. Try:
or
I'm reasonably sure the first will work, not sure about the second.