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

Feature request: support custom fields #146

Open rr- opened 3 years ago

rr- commented 3 years ago

This project already had a couple of such issues before, this time it's our company's stumbling into lack of support for fernet_fields.fields.EncryptedCharField. Now because this is an external package I don't think it makes sense to add support for it here, however, we'd appreciate a way / an API to be able to integrate it ourselves. This would also come in handy, should someone else create their own fields, too.

paulocheque commented 2 years ago

I suppose you can include ir in the fixture files, like a method def encrypted_char_field. Would you like to try to create a PR for that?

https://github.com/paulocheque/django-dynamic-fixture/tree/master/django_dynamic_fixture/fixture_algorithms