1👍
You need to add correct relations (SubFactory
) in the factory definition first.
Please read this part carefully:
http://factoryboy.readthedocs.io/en/latest/recipes.html#copying-fields-to-a-subfactory
Source:stackexchange.com
1👍
You need to add correct relations (SubFactory
) in the factory definition first.
Please read this part carefully:
http://factoryboy.readthedocs.io/en/latest/recipes.html#copying-fields-to-a-subfactory