Fixture loading is interfered by signal handlers
|Reported by:||jtiai||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||master|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If profiles are setup as documented using unique foreignkeyand post_save signal it's impossible to import both as a fixture since creating user data creates (empty) profile that conflicts with fixtures to be loaded.
Specially it's inconvenient in testing. There should be option to disable or run signals deferred while loading fixture data.
Change History (5)
comment:1 Changed 7 years ago by russellm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Design decision needed