Tags: anshumv/django-oscar
Tags
Revert "Use string notation for factory boy factories" This reverts commit f243314. I mistakenly assumed that the string notation would delay the loading of the model class as it does e.g. when used for ForeignKeys or in the AUTH_USER_MODEL. But in fact it achieves the opposite, it not just loads the model, but it requires the entire model registry to be present! This has been reported in FactoryBoy/factory_boy#160 Until then, we need to stick to the old syntax.
PreviousNext