berinhard/model_mommy

field with incorrect value if it has validator

joaojunior opened this issue · 1 comments

If I have a validator in the model field, sometimes the value generated is incorrect.
As instance, If I have the field bellow in the model:

positive_float = models.FloatField(validators=[validators.MinValueValidator(0.001)])

The negative value is generate for this field.