Open Kircheneer opened 3 weeks ago
Currently set is used on the relationship: https://github.com/nautobot/nautobot-app-ssot/blob/ltm-1.6/nautobot_ssot/contrib/model.py#L305
set
Make it possible to not control all objects associated through a many to many relationship.
For example to keep existing tags when adding new ones.
This may be solvable by providing a way to control the scope of the queryset on many to many relationships, i.e. only tags.filter(name__startswith="some_prefix").
tags.filter(name__startswith="some_prefix")
Environment
Currently
set
is used on the relationship: https://github.com/nautobot/nautobot-app-ssot/blob/ltm-1.6/nautobot_ssot/contrib/model.py#L305Proposed Functionality
Make it possible to not control all objects associated through a many to many relationship.
Use Case
For example to keep existing tags when adding new ones.