/.../lib/python2.7/site-packages/django_dynamic_fixture/django_helper.py:168: RemovedInDjango20Warning: Usage of ForeignObjectRel.to attribute has been deprecated. Use the model attribute instead.
This commit removes the warning in a backwards compatible way.
I get a deprecation warning on Django 1.10:
/.../lib/python2.7/site-packages/django_dynamic_fixture/django_helper.py:168: RemovedInDjango20Warning: Usage of ForeignObjectRel.to attribute has been deprecated. Use the model attribute instead.
This commit removes the warning in a backwards compatible way.