berinhard/model_mommy

Is it possible to force it fill nullable fields?

scythargon opened this issue · 2 comments

And thank you for you library!

Okay, I've found it in the sources: _fill_optional argument. Would be cool to cover it in docs;)

But also I don't see where you are using default field values, still had to patch it myself.
The case: I use a field of a class which is not supported by Mommy, but I have a default value (just a simple string) set for it - Mommy was failing to discover it.