17608 L2VPNSerializer Status should be ChoiceField

This commit is contained in:
Arthur 2025-04-11 09:57:11 -07:00 committed by Jeremy Stretch
parent 693543f0b2
commit 021114071c

View File

@ -34,6 +34,7 @@ class L2VPNSerializer(NetBoxModelSerializer):
many=True
)
tenant = TenantSerializer(nested=True, required=False, allow_null=True)
status = ChoiceField(choices=L2VPNStatusChoices, required=False)
class Meta:
model = L2VPN