User.groups.add() or Group.users.add()?
#20907
Unanswered
markkuleinio
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a meaningful difference between
the_user.groups.add(the_group)andthe_group.users.add(the_user), which one should be preferred?Btw
UserandGroupare not documented in https://github.com/netbox-community/netbox/blob/main/docs/development/models.md, should they be?Beta Was this translation helpful? Give feedback.
All reactions