I recently started using MotorEngine and quickly came up with a strange behaviour of the validate function in certain Fields. If required is False then validate should allow None as a valid value.
I added a fix for BinaryField, DecimalField and UrlField and would be glad if this fix could be merged back into the original project.
Coverage decreased (-0.3%) to 95.211% when pulling 16703e8df351b9f5c702459264f20c8bce1bb9d8 on steven266:master into 5e1fea7cc15060f768a697fe4c3593d20f23c4ed on heynemann:master.
Hello,
I recently started using MotorEngine and quickly came up with a strange behaviour of the validate function in certain Fields. If required is
False
then validate should allowNone
as a valid value.I added a fix for BinaryField, DecimalField and UrlField and would be glad if this fix could be merged back into the original project.
Best regards, Steven