votizen/django-factory_boy — pull request #1 by rbarrois (2011-12-22 01:06:46+00:00)
Title: Use factory.SubFactory when possible.

This allows to specify the values of some fields of factory-generated fields:
MessageF(user__email='foo@example.com')

Also, the SubFactory is evaluated when the Factory is instantiated, not when the module is imported (which was the case before this commit).