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

Deprecation warnings with django 1.8 #68

Closed cailloumajor closed 9 years ago

cailloumajor commented 9 years ago

The old and undocumented Model._meta API will be removed in django 1.10. The Model._meta.get_field_by_name(name) method fires a DeprecationWarning since django 1.8. Django documentation recommends to use new Model._meta.get_field(name) : https://docs.djangoproject.com/en/1.8/ref/models/meta/#migrating-from-the-old-api

cailloumajor commented 9 years ago

Fix is proposed in PR #69

paulocheque commented 9 years ago

Amazing!