-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
37361b2
commit 36ddda7
Showing
1 changed file
with
19 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters