gregmuellegger/django-autofixture

Allow muting signals in a way similar to factoryboy

Opened this issue · 1 comments

Autofixture works naively and has a tendency to trigger signals on models downstream from the intended model. Factory boy has a method for silencing signals on explicit models, perhaps in auto-fixture there could be a way to do this "automagically"?

Actually, I figured out this is possible by using both libraries. If one uses factoryboy's decorator for silencing signals in whatever function they define as the entrypoint for creating fixtures or individual fixtures, you can get the benefits of both libraries.