Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Question about @mute_signals with @post_generation function #183
I'm experiencing some troublesome issue when using @mute_signals decorator and custom code in a @post_generation function.
That's my current base factory, and all other factories are inheriting from this one to mute signals in every ones :
Then I have created other factories that are subclasses of BaseFactory, and everything works fine: signals are perfectly muted/restored.
Signals are correctly muted, but are not restored after MyClassWithPostGenerationFactory.create() call.
I have tried to guess what was happening in
But maybe I'm not doing something well ?
Currently, I have subclassed
Any advices about that ?