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