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

Upgrade DRF to v3.15

This commit is contained in:
Jeremy Stretch
2024-03-29 13:13:41 -04:00
parent 0dedf602e8
commit 3be3bbe534
5 changed files with 14 additions and 5 deletions

View File

@@ -47,7 +47,8 @@ class TunnelSerializer(NetBoxModelSerializer):
group = TunnelGroupSerializer(
nested=True,
required=False,
allow_null=True
allow_null=True,
default=None
)
encapsulation = ChoiceField(
choices=TunnelEncapsulationChoices