Skip to content

Commit

Permalink
Use bakery if present
Browse files Browse the repository at this point in the history
Closes #3
  • Loading branch information
jayvdb committed Jun 16, 2020
1 parent 8baf77d commit ca3e92a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion admin_auto_tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

import factory
from django.contrib.auth import get_user_model
from model_mommy import mommy
try:
from model_baker import bakery as mommy
except ImportError:
from model_mommy import mommy

try:
from django.core.urlresolvers import reverse
Expand Down

0 comments on commit ca3e92a

Please sign in to comment.