Lennaert Bel

Results 3 comments of Lennaert Bel

Just got hit by this as well, even when setting `null=True` in the `FloatField`. If that is set, I think it should definitely not raise an exception on `null`, right?...

For reference, in mongoengine 0.26.0 this bug now also appears on `DecimalField` – had to implement a workaround in our codebase.

Thanks for your reply! So your example works for me as well, where it goes wrong is when the `FloatField` is inside a `ListField`: ``` from mongoengine import * class...