class TestSerializer(serializers.Serializer):
     mac = fields.MACAddressField()
Esempio n. 2
0
 class TestSerializer(serializers.Serializer):
     ip = fields.MACAddressField(validators=[validate])