diff options
Diffstat (limited to 'factory/mogo.py')
-rw-r--r-- | factory/mogo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/factory/mogo.py b/factory/mogo.py index c6c3c19..b5841b1 100644 --- a/factory/mogo.py +++ b/factory/mogo.py @@ -37,7 +37,7 @@ class MogoFactory(base.Factory): @classmethod def _build(cls, model_class, *args, **kwargs): - return model_class.new(*args, **kwargs) + return model_class(*args, **kwargs) @classmethod def _create(cls, model_class, *args, **kwargs): |