1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Retain ip_addresses name for related IPAddress objects

This commit is contained in:
Jeremy Stretch
2020-06-22 16:13:18 -04:00
parent 490dee1fa0
commit 40938f0c8a
6 changed files with 6 additions and 6 deletions

View File

@@ -405,7 +405,7 @@ class Interface(BaseInterface):
blank=True,
verbose_name='Tagged VLANs'
)
ipaddresses = GenericRelation(
ip_addresses = GenericRelation(
to='ipam.IPAddress',
content_type_field='assigned_object_type',
object_id_field='assigned_object_id'