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

Use new Model._meta API to prevent deprecation warnings with django 1.8 #69

Closed cailloumajor closed 9 years ago

cailloumajor commented 9 years ago

Fixes issue #68

landscape-bot commented 9 years ago

Code Health Repository health decreased by 0.08% when pulling 9b34469 on cailloumajor:model-meta-api into cbdef43 on paulocheque:master.

cailloumajor commented 9 years ago

@landscape-bot : since django 1.8, Model._meta is a public API (see https://docs.djangoproject.com/en/1.8/ref/models/meta/), although you consider it as a 'protected' member.

paulocheque commented 9 years ago

Amazing! Thanks!