Skip to content

Commit

Permalink
Make ObjectAliases clonable
Browse files Browse the repository at this point in the history
  • Loading branch information
Alef-Burzmali committed Nov 1, 2024
1 parent e34153d commit 644cfea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions netbox_data_flows/models/objectaliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ class Meta:

objects = ObjectAliasQuerySet.as_manager()

clone_fields = (
"prefixes",
"ip_ranges",
"ip_addresses",
)

def get_absolute_url(self):
return reverse("plugins:netbox_data_flows:objectalias", args=[self.pk])

Expand Down

0 comments on commit 644cfea

Please sign in to comment.