paulocheque / django-dynamic-fixture

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

BinaryField support? #37

Closed smallcode closed 10 years ago

smallcode commented 10 years ago
class Entity(models.Model):
    text = models.BinaryField()

G(Entity)  # raise UnsupportedFieldError.

in Django1.6.1

paulocheque commented 10 years ago

Try G(Entity, text=None) and set the value manually while this field is not supported yet!

paulocheque commented 10 years ago

Done. I will generate the release 1.8.0 soon.

https://github.com/paulocheque/django-dynamic-fixture/commit/584d25e1afa3523f374a05897a11a209716dbba3

and

https://github.com/paulocheque/django-dynamic-fixture/commit/efc37d69a5789265c401fecb6383e9cf7e37c9c2