Skip to content

Unexpected behaviour of validate() in BinaryField, DecimalField and UrlField#130

Open
steven266 wants to merge 4 commits intoheynemann:masterfrom
steven266:master
Open

Unexpected behaviour of validate() in BinaryField, DecimalField and UrlField#130
steven266 wants to merge 4 commits intoheynemann:masterfrom
steven266:master

Conversation

@steven266
Copy link

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 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.

Best regards,
Steven

@coveralls
Copy link

coveralls commented Mar 13, 2018

Coverage Status

Coverage decreased (-0.3%) to 95.211% when pulling 16703e8 on steven266:master into 5e1fea7 on heynemann:master.

@sourcepirate
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants