Skip to content

Commit

Permalink
Rename related names outside of arnold namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Jan 11, 2023
1 parent 53ffef6 commit 0daa852
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/nav/models/arnold.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Identity(models.Model):
Interface,
on_delete=models.CASCADE,
db_column='swportid',
related_name="identities",
related_name="arnold_identities",
)
ip = models.GenericIPAddressField(null=True, default='0.0.0.0')
dns = VarcharField(blank=True)
Expand All @@ -69,7 +69,7 @@ class Identity(models.Model):
on_delete=models.CASCADE,
db_column='orgid',
null=True,
related_name="identities",
related_name="arnold_identities",
)
keep_closed = models.CharField(
db_column='determined', default='n', choices=KEEP_CLOSED_CHOICES, max_length=1
Expand Down

0 comments on commit 0daa852

Please sign in to comment.