paulocheque / django-dynamic-fixture

A complete library to create dynamic model instances for testing purposes.
http://django-dynamic-fixture.readthedocs.io/
Other
391 stars 67 forks source link

Fixed ImportError on Django 2.0 #91

Closed heyman closed 7 years ago

heyman commented 7 years ago

This fixes an ImportError error when importing django_dynamic_fixture in a Django 2.0 project.

paulocheque commented 7 years ago

Amazing!

ps: The tests in CI failed but it was a Travis issue related to the Python interpreters. For that reason I will merge the PR.

heyman commented 7 years ago

@paulocheque Oh, sorry, my plan was to go back and check that the tests succeeded, but I forgot to do that.

I might open more pull requests if I run into any other Django 2.0 related issues. My current very basic usage of G() on a few simple models in a new Django 2.0 project is working fine so far :).