Closed zvictor closed 9 years ago
Hi, thanks for reporting.
You can create a method called pointfield_config(self, field, key) in SequentialDataFixture and RandomDataFixture. You can use other methods of this class as example. Tell me if this is enough.
ps: I was a little busy, but I will be back to aprove this pull requests! Thanks again!
If you do not want to implement it in the DDF code, you can create it as your Custom Data Fixture: https://github.com/paulocheque/django-dynamic-fixture/wiki/Documentation#wiki-data_fixtures
You can create a class that inherit from some DDF data fixture class.
Regards
Oh, I see now you implement it: https://github.com/zvictor/django-dynamic-fixture/commit/c014d15cfc6aa6ee0427b6b4c56cef25aa803c34
Nice.
Is this going to be merged into django-dynamic-fixture?
Could you confirm for me if this is compatible with all DDF Django supported versions? Maybe we can let this implementation with optional just for the compatible versions.
Is this ever getting merged in or is there already some support for geodjango that I've missed?
I was waiting for a PR, but I will merge it manually. In the mean time, you can try this: http://django-dynamic-fixture.readthedocs.org/en/latest/data.html#geodjango-fields
Added support in 1.8.4 version. Thanks for reporting. Best,
Hi,
I realized that DDF has no compatibility with
geodjango
, more specifically withdjango.contrib.gis.db.models.fields.PointField
. I am interested in implement it, but I don't know how to start. How can we deal withgeodjango
requirement, and how am I supposed to test the implementation? Any ideas how can we do it?