Fixes: #4396 - Fix typing on interface serializer

This commit is contained in:
Daniel Sheppard 2020-04-07 08:33:00 -05:00
parent 5f6b63e978
commit fe088dba7a
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@
### Bug Fixes ### Bug Fixes
* [#4396](https://github.com/netbox-community/netbox/issues/4395) - Fix typing of count_ipaddresses on interface serializer
* [#4418](https://github.com/netbox-community/netbox/issues/4418) - Fail cleanly when trying to import multiple device types simultaneously * [#4418](https://github.com/netbox-community/netbox/issues/4418) - Fail cleanly when trying to import multiple device types simultaneously
* [#4438](https://github.com/netbox-community/netbox/issues/4438) - Fix exception when disconnecting a cable from a power feed * [#4438](https://github.com/netbox-community/netbox/issues/4438) - Fix exception when disconnecting a cable from a power feed
* [#4439](https://github.com/netbox-community/netbox/issues/4439) - Tweak display of unset custom integer fields * [#4439](https://github.com/netbox-community/netbox/issues/4439) - Tweak display of unset custom integer fields

View File

@ -530,6 +530,7 @@ class InterfaceSerializer(TaggitSerializer, ConnectedEndpointSerializer):
) )
cable = NestedCableSerializer(read_only=True) cable = NestedCableSerializer(read_only=True)
tags = TagListSerializerField(required=False) tags = TagListSerializerField(required=False)
count_ipaddresses = serializers.IntegerField(read_only=True)
class Meta: class Meta:
model = Interface model = Interface