Skip to content

Commit

Permalink
Hotfix: Fix factory.django aliases.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbarrois committed Aug 13, 2020
1 parent 80854c9 commit efb5019
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ ChangeLog
3.0.1 (unreleased)
------------------

- Nothing changed yet.
*Bugfix:*

- :issue:`769`: Fix ``import factory; factory.django.DjangoModelFactory`` and similar calls.


3.0.0 (2020-08-12)
Expand Down
8 changes: 4 additions & 4 deletions factory/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@
)

try:
import alchemy
from . import alchemy
except ImportError:
pass
try:
import django
from . import django
except ImportError:
pass
try:
import mogo
from . import mogo
except ImportError:
pass
try:
import mongoengine
from . import mongoengine
except ImportError:
pass

Expand Down

0 comments on commit efb5019

Please sign in to comment.