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

No support for uuid fields in django 1.8 #63

Closed artcz closed 9 years ago

artcz commented 9 years ago

Like in the title,

Trying to G(ModelName) with uuid field results in

    raise(UnsupportedFieldError(get_unique_field_name(field)))
UnsupportedFieldError: apps.testapp.models.SomeModel.uuid_field

Steps to reproduce: 1) create a model (eg SomeModel) with models.UUIDField (eg uuid_field) 2) open ./manage.py shell 3) do G(SomeModel)

Thanks,

paulocheque commented 9 years ago

Thanks for reporting. This is a new field.

For now, you can try the DDF_FIELD_FIXTURES config: http://ddf.codeart.io/en/latest/data_fixtures.html#custom-field-fixture

paulocheque commented 9 years ago

Added support in 1.8.4 version. Thanks for reporting. Best,