summaryrefslogtreecommitdiff
path: root/factory/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'factory/__init__.py')
-rw-r--r--factory/__init__.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/factory/__init__.py b/factory/__init__.py
index 80eb6a8..843cf99 100644
--- a/factory/__init__.py
+++ b/factory/__init__.py
@@ -40,9 +40,6 @@ from .base import (
use_strategy,
)
-# Backward compatibility; this should be removed soon.
-from .mogo import MogoFactory
-from .django import DjangoModelFactory
from .faker import Faker
from .declarations import (
@@ -84,3 +81,12 @@ from .helpers import (
post_generation,
)
+# Backward compatibility; this should be removed soon.
+from . import alchemy
+from . import django
+from . import mogo
+from . import mongoengine
+
+MogoFactory = mogo.MogoFactory
+DjangoModelFactory = django.DjangoModelFactory
+