vandersonmota/model_mommy — pull request #50 by kevin29a (2012-08-21 20:36:19+00:00)
Title: Tweak to _make_one

Some fields do not have a "has_default" attribute, which crashes the _make_one function in Mommy. This patch simply checks for the existence of the has_default attribute before calling it.